Openwrt/target/linux/generic/patches-2.6.37/411-gpio_ioctl.patch
Florian Fainelli c11f523730 refresh 2.6.37 patches
SVN-Revision: 25760
2011-02-27 19:03:55 +00:00

12 lines
261 B
Diff

--- 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
};