summaryrefslogtreecommitdiff
path: root/target/linux/brcm63xx/files
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-04-30 14:09:01 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-04-30 14:09:01 +0000
commit9485c3e834e77302aed5b2eab46de2313c2311bf (patch)
tree26b75261d26484964ece275f3a99b03ee40149ed /target/linux/brcm63xx/files
parentad9d1857a5d06f1ba55ed03a005aa4b0d7659a0a (diff)
downloadmtk-20170518-9485c3e834e77302aed5b2eab46de2313c2311bf.zip
mtk-20170518-9485c3e834e77302aed5b2eab46de2313c2311bf.tar.gz
mtk-20170518-9485c3e834e77302aed5b2eab46de2313c2311bf.tar.bz2
register gpiodev
SVN-Revision: 15509
Diffstat (limited to 'target/linux/brcm63xx/files')
-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 c16ebc8..f85494d 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;
}