habanalabs: add missing MODULE_DEVICE_TABLE
PATCH 1/1 habanalabs: add missing MODULE_DEVICE_TABLE
PCI drivers should use this define to declare their PCI ID table.
Signed-off-by Oded Gabbay <[email protected]>
--- drivers/misc/habanalabs/habanalabs_drv.c | 1 + 1 file changed, 1 insertion(+)
drivers/misc/habanalabs/habanalabs_drv.c +1 -0
@@ -47,6 +47,7 @@ static const struct pci_device_id ids[] = { { PCI_DEVICE(PCI_VENDOR_ID_HABANALABS, PCI_IDS_GAUDI), }, { 0, } }; +MODULE_DEVICE_TABLE (pci, ids);/* * get_asic_type - translate device id to asic type
Signature · 1 line
2.17.1
Quoted 3 lines · Oded Gabbay
PCI drivers should use this define to declare their PCI ID table.
Signed-off-by Oded Gabbay <[email protected]>
Reviewed-by Tomer Tayar <[email protected]>