projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a62c39
)
habanalabs: add missing MODULE_DEVICE_TABLE
author
Oded Gabbay
<oded.gabbay@gmail.com>
Sun, 3 May 2020 12:30:55 +0000
(15:30 +0300)
committer
Oded Gabbay
<oded.gabbay@gmail.com>
Tue, 19 May 2020 11:48:41 +0000
(14:48 +0300)
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>
drivers/misc/habanalabs/habanalabs_drv.c
patch
|
blob
|
history
diff --git
a/drivers/misc/habanalabs/habanalabs_drv.c
b/drivers/misc/habanalabs/habanalabs_drv.c
index
b670859
..
5e73b45
100644
(file)
--- 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