diff options
author | Roland Dreier <rdreier@cisco.com> | 2009-09-08 20:43:03 -0400 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-09-08 20:43:03 -0400 |
commit | 6506cbca6b5b36d682bd39afcbf3f575c81dddb6 (patch) | |
tree | ea82de689e7712eaa76209afcaf9a8678dac9f3f /drivers/dma/ioat/pci.c | |
parent | e3232714d465c42ac631929b990f5e35e2d8a955 (diff) |
Add MODULE_DEVICE_TABLE() so ioatdma module is autoloaded
The ioatdma module is missing aliases for the PCI devices it supports,
so it is not autoloaded on boot. Add a MODULE_DEVICE_TABLE() to get
these aliases.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/ioat/pci.c')
-rw-r--r-- | drivers/dma/ioat/pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/ioat/pci.c b/drivers/dma/ioat/pci.c index 6c1aac5b3598..3b2f40e9b3bd 100644 --- a/drivers/dma/ioat/pci.c +++ b/drivers/dma/ioat/pci.c | |||
@@ -73,6 +73,7 @@ static struct pci_device_id ioat_pci_tbl[] = { | |||
73 | 73 | ||
74 | { 0, } | 74 | { 0, } |
75 | }; | 75 | }; |
76 | MODULE_DEVICE_TABLE(pci, ioat_pci_tbl); | ||
76 | 77 | ||
77 | static int __devinit ioat_pci_probe(struct pci_dev *pdev, | 78 | static int __devinit ioat_pci_probe(struct pci_dev *pdev, |
78 | const struct pci_device_id *id); | 79 | const struct pci_device_id *id); |