openwrtv4/target/linux/generic/patches-2.6.37/834-gpio_ioctl.patch
Florian Fainelli f9f8dcfa70 refresh 2.6.37 patches
SVN-Revision: 26955
2011-05-20 10:06:11 +00:00

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