aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2010-03-18 10:56:28 +0000
committerJohn Crispin <john@openwrt.org>2010-03-18 10:56:28 +0000
commitb306cc489a14e03e56d8712561103921e54a9a4b (patch)
treeb0fdd103a1d9d6cbc8d5ac0c14304ac3ea6d9e27 /target/linux
parent10af553b63e4e81ff05639def4c04fc62b29fcb2 (diff)
downloadupstream-b306cc489a14e03e56d8712561103921e54a9a4b.tar.gz
upstream-b306cc489a14e03e56d8712561103921e54a9a4b.tar.bz2
upstream-b306cc489a14e03e56d8712561103921e54a9a4b.zip
we have a maximum of 32 gpios
SVN-Revision: 20265
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ifxmips/files/arch/mips/include/asm/mach-ifxmips/gpio.h2
1 files changed, 1 insertions, 1 deletions
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