linux/generic: fix ioctl on 2.6.36 (http://lwn.net/Articles/394724/)
SVN-Revision: 22921
This commit is contained in:
parent
d3bb3031c6
commit
6cff1caa68
11
target/linux/generic/patches-2.6.36/411-gpio_ioctl.patch
Normal file
11
target/linux/generic/patches-2.6.36/411-gpio_ioctl.patch
Normal 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
|
||||
};
|
Loading…
Reference in New Issue
Block a user