summaryrefslogtreecommitdiff
path: root/target/linux/ifxmips/files
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-18 10:56:28 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-03-18 10:56:28 +0000
commit80d12ff0fec120c0bb8daffe3ebc25d7d287e455 (patch)
treecaef19b1f89690fb0f4b8bca3b825f61f20619be /target/linux/ifxmips/files
parent044148567bf569ece113605dabad577a32f70914 (diff)
[ifxmips] we have a maximum of 32 gpios
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20265 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ifxmips/files')
-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