From: John Crispin Date: Thu, 18 Mar 2010 10:56:28 +0000 (+0000) Subject: we have a maximum of 32 gpios X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b306cc489a14e03e56d8712561103921e54a9a4b;p=openwrt%2Fstaging%2Fneocturne.git we have a maximum of 32 gpios SVN-Revision: 20265 --- diff --git a/target/linux/ifxmips/files/arch/mips/include/asm/mach-ifxmips/gpio.h b/target/linux/ifxmips/files/arch/mips/include/asm/mach-ifxmips/gpio.h index 6f05e38eac..4176bfd809 100644 --- a/target/linux/ifxmips/files/arch/mips/include/asm/mach-ifxmips/gpio.h +++ b/target/linux/ifxmips/files/arch/mips/include/asm/mach-ifxmips/gpio.h @@ -99,7 +99,7 @@ static inline void gpio_set_value_cansleep(unsigned gpio, int value) static inline int gpio_is_valid(int number) { - return ((unsigned)number) < 16; + return ((unsigned)number) < 32; } #endif