aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2010-08-29 11:08:41 -0400
committerRalf Baechle <ralf@linux-mips.org>2010-10-29 14:08:46 -0400
commit3bc6968adc7b1926f4582a33a33ad42d9b302ce0 (patch)
tree67d37a08a426247ee059391c54bd363e542a4ca8 /arch/mips/include
parent340fbb8b12dd24c83b1e8ff094b8e2c218144217 (diff)
MIPS: AR7: Initialize GPIO earlier
In order to detect the Titan variant, we must initialize GPIOs earlier since detection relies on some GPIO values to be set. Signed-off-by: Florian Fainelli <florian@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/1562/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org> ---
Diffstat (limited to 'arch/mips/include')
-rw-r--r--arch/mips/include/asm/mach-ar7/ar7.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/mips/include/asm/mach-ar7/ar7.h b/arch/mips/include/asm/mach-ar7/ar7.h
index 483ffea9ecb1..ddb413e81d06 100644
--- a/arch/mips/include/asm/mach-ar7/ar7.h
+++ b/arch/mips/include/asm/mach-ar7/ar7.h
@@ -161,4 +161,6 @@ static inline void ar7_device_off(u32 bit)
161 msleep(20); 161 msleep(20);
162} 162}
163 163
164int __init ar7_gpio_init(void);
165
164#endif /* __AR7_H__ */ 166#endif /* __AR7_H__ */