Skip to content

Commit

Permalink
Add MODULE_DEVICE_TABLE() so ioatdma module is autoloaded
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Roland Dreier authored and Dan Williams committed Sep 9, 2009
1 parent e323271 commit 6506cbc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/dma/ioat/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 6506cbc

Please sign in to comment.