From: Axel Lin Date: Mon, 28 Feb 2011 06:34:27 +0000 (+0800) Subject: mfd: Add MODULE_DEVICE_TABLE to vx855 X-Git-Tag: v2.6.39-rc1~96^2~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bcd2f639629b58fbc702bb8be348a03e75472021;p=profile%2Fivi%2Fkernel-x86-ivi.git mfd: Add MODULE_DEVICE_TABLE to vx855 The device table is required to load modules based on modaliases. After adding the MODULE_DEVICE_TABLE, below entries will be added to modules.pcimap: vx855 0x00001106 0x00008409 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0 Signed-off-by: Axel Lin Acked-by: Harald Welte Signed-off-by: Samuel Ortiz --- diff --git a/drivers/mfd/vx855.c b/drivers/mfd/vx855.c index 348052a..d698703 100644 --- a/drivers/mfd/vx855.c +++ b/drivers/mfd/vx855.c @@ -122,6 +122,7 @@ static struct pci_device_id vx855_pci_tbl[] = { { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX855) }, { 0, } }; +MODULE_DEVICE_TABLE(pci, vx855_pci_tbl); static struct pci_driver vx855_pci_driver = { .name = "vx855",