mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-31 11:41:29 -04:00
fbdev: sstfb: add missing MODULE_DEVICE_TABLE()
The driver has a match table for the pci bus wired into its driver structure, but the table is not exported with MODULE_DEVICE_TABLE(). Add the missing MODULE_DEVICE_TABLE() entry so module alias information is generated for automatic module loading. This is a source-level fix. It does not claim dynamic hardware reproduction; the evidence is the driver-owned match table, its use by the driver registration structure, and the missing module alias publication. Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn> Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
committed by
Helge Deller
parent
31875c51c3
commit
74c09634a5
@@ -1492,6 +1492,7 @@ static const struct pci_device_id sstfb_id_tbl[] = {
|
||||
.driver_data = ID_VOODOO2, },
|
||||
{ 0 },
|
||||
};
|
||||
MODULE_DEVICE_TABLE(pci, sstfb_id_tbl);
|
||||
|
||||
static struct pci_driver sstfb_driver = {
|
||||
.name = "sstfb",
|
||||
|
||||
Reference in New Issue
Block a user