drm/tdfx: add missing MODULE_DEVICE_TABLE
Subsystems (3)
PATCH 1/1 drm/tdfx: add missing MODULE_DEVICE_TABLE
This patch adds missing MODULE_DEVICE_TABLE definition which generates correct modalias for automatic loading of this driver when it is built as an external module.
Reported-by Hulk Robot <[email protected]>
Signed-off-by Bixuan Cui <[email protected]>
--- drivers/gpu/drm/tdfx/tdfx_drv.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/tdfx/tdfx_drv.c +1 -0
@@ -44,6 +44,7 @@static struct pci_device_id pciidlist[] = { tdfx_PCI_IDS }; +MODULE_DEVICE_TABLE (pci, pciidlist);static const struct file_operations tdfx_driver_fops = { .owner =THIS_MODULE ,