projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ar71xx: switch to 2.6.32
[openwrt.git]
/
target
/
linux
/
ar7
/
files
/
drivers
/
char
/
ar7_gpio.c
diff --git
a/target/linux/ar7/files/drivers/char/ar7_gpio.c
b/target/linux/ar7/files/drivers/char/ar7_gpio.c
index
16460cd
..
6b38bbd
100644
(file)
--- a/
target/linux/ar7/files/drivers/char/ar7_gpio.c
+++ b/
target/linux/ar7/files/drivers/char/ar7_gpio.c
@@
-98,7
+98,7
@@
static int ar7_gpio_open(struct inode *inode, struct file *file)
{
int m = iminor(inode);
- if (m >=
AR7_GPIO_MAX
)
+ if (m >=
(ar7_is_titan() ? TITAN_GPIO_MAX : AR7_GPIO_MAX)
)
return -EINVAL;
return nonseekable_open(inode, file);
This page took
0.020981 seconds
and
4
git commands to generate.