summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/files/arch/mips
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-30 14:09:01 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-04-30 14:09:01 +0000
commitdae9860357e414cb14729b8eb12bce3efd191b72 (patch)
treea1232f12aa1268d422b861040f99579a09141cf8 /target/linux/brcm63xx/files/arch/mips
parent7bc22cd09969904278e8dfb376b9232fd41d0129 (diff)
[brmc63xx] register gpiodev
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15509 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/files/arch/mips')
-rw-r--r--target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c
index c16ebc8672..f85494d884 100644
--- a/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c
+++ b/target/linux/brcm63xx/files/arch/mips/bcm63xx/boards/board_bcm963xx.c
@@ -494,6 +494,10 @@ static struct ssb_sprom bcm63xx_sprom = {
.boardflags_hi = 0x0000,
};
+static struct resource gpiodev_resource = {
+ .start = 0xFFFFFFFF,
+};
+
/*
* third stage init callback, register all board devices.
*/
@@ -541,6 +545,9 @@ int __init board_register_devices(void)
platform_device_register(&mtd_dev);
+ /* Register GPIODEV */
+ platform_device_register_simple("GPIODEV", 0, &gpiodev_resource, 1);
+
return 0;
}