aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/pch_gpio.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-03-11 17:58:30 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-13 18:35:59 -0400
commit19234cdda517396e5e0b10e77493afa9e30095c3 (patch)
treee6c83b3b4a45a7eb65c25fbf6497ecdf8153787a /drivers/gpio/pch_gpio.c
parent2da28bfd9665f49d40abb4c7720b43135feaf79a (diff)
gpio: add MODULE_DEVICE_TABLE
The device table is required to load modules based on modaliases. After adding MODULE_DEVICE_TABLE, below entries will be added to modules.pcimap: pch_gpio 0x00008086 0x00008803 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0 ml_ioh_gpio 0x000010db 0x0000802e 0xffffffff 0xffffffff 0x00000000 0x00000000 0x0 Signed-off-by: Axel Lin <axel.lin@gmail.com> Cc: Tomoya MORINAGA <tomoya-linux@dsn.okisemi.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/gpio/pch_gpio.c')
-rw-r--r--drivers/gpio/pch_gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/pch_gpio.c b/drivers/gpio/pch_gpio.c
index 0eba0a75c804..2c6af8705103 100644
--- a/drivers/gpio/pch_gpio.c
+++ b/drivers/gpio/pch_gpio.c
@@ -286,6 +286,7 @@ static DEFINE_PCI_DEVICE_TABLE(pch_gpio_pcidev_id) = {
286 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8803) }, 286 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8803) },
287 { 0, } 287 { 0, }
288}; 288};
289MODULE_DEVICE_TABLE(pci, pch_gpio_pcidev_id);
289 290
290static struct pci_driver pch_gpio_driver = { 291static struct pci_driver pch_gpio_driver = {
291 .name = "pch_gpio", 292 .name = "pch_gpio",