[ifxmips] we have a maximum of 32 gpios

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20265 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
John Crispin 2010-03-18 10:56:28 +00:00
parent 3dead2d4a1
commit 83ea215912
1 changed files with 1 additions and 1 deletions

View File

@ -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