aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/files/include
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-06-04 09:59:28 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-06-04 09:59:28 +0000
commitc95420f06d5d62fa91eb5ecdf6574d6da5262f3e (patch)
treecd50cf27f75b56fb2e08a5fc70ff428db2c9c131 /target/linux/brcm63xx/files/include
parent74dfd77f41a67991da07389787a9a073b4f4ad20 (diff)
downloadupstream-c95420f06d5d62fa91eb5ecdf6574d6da5262f3e.tar.gz
upstream-c95420f06d5d62fa91eb5ecdf6574d6da5262f3e.tar.bz2
upstream-c95420f06d5d62fa91eb5ecdf6574d6da5262f3e.zip
register gpiochip earlier, allowing gpio-based runtime detection to be performed in board_init callback
SVN-Revision: 16328
Diffstat (limited to 'target/linux/brcm63xx/files/include')
-rw-r--r--target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_gpio.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_gpio.h b/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_gpio.h
index 72cee75f0a..7f5d8e87d0 100644
--- a/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_gpio.h
+++ b/target/linux/brcm63xx/files/include/asm-mips/mach-bcm63xx/bcm63xx_gpio.h
@@ -1,6 +1,10 @@
#ifndef BCM63XX_GPIO_H
#define BCM63XX_GPIO_H
+#include <linux/init.h>
+
+int __init bcm63xx_gpio_init(void);
+
/* all helpers will BUG() if gpio count is >= 37. */
#define BCM63XX_GPIO_COUNT 37