diff options
-rw-r--r-- | target/linux/ifxmips/files/arch/mips/include/asm/mach-ifxmips/gpio.h | 2 |
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 6f05e38ea..4176bfd80 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 |