From 3bc6968adc7b1926f4582a33a33ad42d9b302ce0 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 29 Aug 2010 17:08:41 +0200 Subject: 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 Patchwork: http://patchwork.linux-mips.org/patch/1562/ Signed-off-by: Ralf Baechle --- --- arch/mips/include/asm/mach-ar7/ar7.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'arch/mips/include') 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) msleep(20); } +int __init ar7_gpio_init(void); + #endif /* __AR7_H__ */ -- cgit v1.2.1