1
0
Fork 0

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>
hifive-unleashed-5.1
Roland Dreier 2009-09-08 17:43:03 -07:00 committed by Dan Williams
parent e3232714d4
commit 6506cbca6b
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ static struct pci_device_id ioat_pci_tbl[] = {
{ 0, }
};
MODULE_DEVICE_TABLE(pci, ioat_pci_tbl);
static int __devinit ioat_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *id);