From: Roland Dreier Date: Wed, 9 Sep 2009 00:43:03 +0000 (-0700) Subject: Add MODULE_DEVICE_TABLE() so ioatdma module is autoloaded X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6506cbca6b5b36d682bd39afcbf3f575c81dddb6;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git 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 Signed-off-by: Dan Williams --- 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[] = { { 0, } }; +MODULE_DEVICE_TABLE(pci, ioat_pci_tbl); static int __devinit ioat_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id);