Commit 6506cbca authored by Roland Dreier's avatar Roland Dreier Committed by Dan Williams

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: default avatarRoland Dreier <rolandd@cisco.com>
Signed-off-by: default avatarDan Williams <dan.j.williams@intel.com>
parent e3232714
...@@ -73,6 +73,7 @@ static struct pci_device_id ioat_pci_tbl[] = { ...@@ -73,6 +73,7 @@ static struct pci_device_id ioat_pci_tbl[] = {
{ 0, } { 0, }
}; };
MODULE_DEVICE_TABLE(pci, ioat_pci_tbl);
static int __devinit ioat_pci_probe(struct pci_dev *pdev, static int __devinit ioat_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *id); const struct pci_device_id *id);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment