diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-02-28 01:34:27 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-03-23 05:41:59 -0400 |
commit | bcd2f639629b58fbc702bb8be348a03e75472021 (patch) | |
tree | f3f6a15a95cd18009818ee23205513fefbddb374 /drivers/mfd/vx855.c | |
parent | 7679089debfbffc9243b41664e348412f9df1639 (diff) |
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 <axel.lin@gmail.com>
Acked-by: Harald Welte <laforge@gnumonks.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/vx855.c')
-rw-r--r-- | drivers/mfd/vx855.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/vx855.c b/drivers/mfd/vx855.c index 348052aa5dbf..d698703dbd46 100644 --- a/drivers/mfd/vx855.c +++ b/drivers/mfd/vx855.c | |||
@@ -122,6 +122,7 @@ static struct pci_device_id vx855_pci_tbl[] = { | |||
122 | { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX855) }, | 122 | { PCI_DEVICE(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_VX855) }, |
123 | { 0, } | 123 | { 0, } |
124 | }; | 124 | }; |
125 | MODULE_DEVICE_TABLE(pci, vx855_pci_tbl); | ||
125 | 126 | ||
126 | static struct pci_driver vx855_pci_driver = { | 127 | static struct pci_driver vx855_pci_driver = { |
127 | .name = "vx855", | 128 | .name = "vx855", |