register gpiochip earlier, allowing gpio-based runtime detection to be performed...
[openwrt/staging/dedeckeh.git] / target / linux / brcm63xx / files / include / asm-mips / mach-bcm63xx / bcm63xx_gpio.h
1 #ifndef BCM63XX_GPIO_H
2 #define BCM63XX_GPIO_H
3
4 #include <linux/init.h>
5
6 int __init bcm63xx_gpio_init(void);
7
8 /* all helpers will BUG() if gpio count is >= 37. */
9 #define BCM63XX_GPIO_COUNT 37
10
11 #define GPIO_DIR_OUT 0x0
12 #define GPIO_DIR_IN 0x1
13
14 #endif /* !BCM63XX_GPIO_H */