linux/generic: fix ioctl on 2.6.36 (http://lwn.net/Articles/394724/)

SVN-Revision: 22921
lede-17.01
Alexandros C. Couloumbis 2010-09-04 22:18:54 +00:00
parent d3bb3031c6
commit 6cff1caa68
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
--- a/drivers/char/gpio_dev.c
+++ b/drivers/char/gpio_dev.c
@@ -114,7 +114,7 @@ gpio_close(struct inode * inode, struct
}
struct file_operations gpio_fops = {
- ioctl: gpio_ioctl,
+ unlocked_ioctl: gpio_ioctl,
open: gpio_open,
release: gpio_close
};