diff options
author | Oded Gabbay <oded.gabbay@gmail.com> | 2020-05-03 15:30:55 +0300 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2020-05-19 14:48:41 +0300 |
commit | 824b4578391b08f6570e6259ba570b9f9d1f1438 (patch) | |
tree | 346022cb0508b615b3db957a4b5f280192d6ee14 /drivers/misc/habanalabs/habanalabs_drv.c | |
parent | 0a62c3926ef560d78077abb301b755e725af1137 (diff) | |
download | linux-824b4578391b08f6570e6259ba570b9f9d1f1438.tar.xz |
habanalabs: add missing MODULE_DEVICE_TABLE
PCI drivers should use this define to declare their PCI ID table.
Reviewed-by: Tomer Tayar <ttayar@habana.ai>
Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/misc/habanalabs/habanalabs_drv.c')
-rw-r--r-- | drivers/misc/habanalabs/habanalabs_drv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/misc/habanalabs/habanalabs_drv.c b/drivers/misc/habanalabs/habanalabs_drv.c index b670859c677a..5e73b456facd 100644 --- a/drivers/misc/habanalabs/habanalabs_drv.c +++ b/drivers/misc/habanalabs/habanalabs_drv.c @@ -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 |