gpio: add MODULE_DEVICE_TABLE to pch_gpio and ml_ioh_gpio
authorAxel Lin <axel.lin@gmail.com>
Thu, 10 Mar 2011 08:48:34 +0000 (16:48 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 12 Mar 2011 09:13:07 +0000 (02:13 -0700)
commit98f51ca98054b1268a7fdfe51d93c86a449ae87c
treef8a900485d6a59756c7d5230c0d612e838445810
parent0b7bb77fd55903ff9dc7c0474c49002aa6b9c78c
gpio: add MODULE_DEVICE_TABLE to pch_gpio and ml_ioh_gpio

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>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/ml_ioh_gpio.c
drivers/gpio/pch_gpio.c