Openwrt/target/linux/generic/patches-2.6.37/411-gpio_ioctl.patch
Alexandros C. Couloumbis a623456e93 target/linux: sync to kernel 2.6.37-rc8, refresh patches
SVN-Revision: 24847
2010-12-29 13:24:17 +00:00

12 lines
262 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
};