linux/generic: fix ioctl on 2.6.36 (http://lwn.net/Articles/394724/)
authorAlexandros C. Couloumbis <alex@ozo.com>
Sat, 4 Sep 2010 22:18:54 +0000 (22:18 +0000)
committerAlexandros C. Couloumbis <alex@ozo.com>
Sat, 4 Sep 2010 22:18:54 +0000 (22:18 +0000)
SVN-Revision: 22921

target/linux/generic/patches-2.6.36/411-gpio_ioctl.patch [new file with mode: 0644]

diff --git a/target/linux/generic/patches-2.6.36/411-gpio_ioctl.patch b/target/linux/generic/patches-2.6.36/411-gpio_ioctl.patch
new file mode 100644 (file)
index 0000000..3b70632
--- /dev/null
@@ -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
+ };