Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Axel Lin and committed by
Linus Torvalds
19234cdd 2da28bfd

+2
+1
drivers/gpio/ml_ioh_gpio.c
··· 326 326 { PCI_DEVICE(PCI_VENDOR_ID_ROHM, 0x802E) }, 327 327 { 0, } 328 328 }; 329 + MODULE_DEVICE_TABLE(pci, ioh_gpio_pcidev_id); 329 330 330 331 static struct pci_driver ioh_gpio_driver = { 331 332 .name = "ml_ioh_gpio",
+1
drivers/gpio/pch_gpio.c
··· 286 286 { PCI_DEVICE(PCI_VENDOR_ID_INTEL, 0x8803) }, 287 287 { 0, } 288 288 }; 289 + MODULE_DEVICE_TABLE(pci, pch_gpio_pcidev_id); 289 290 290 291 static struct pci_driver pch_gpio_driver = { 291 292 .name = "pch_gpio",