openwrtv4/target/linux/generic/patches-2.6.39/411-gpio_ioctl.patch
Felix Fietkau 127e4ebd32 generic: Add support for 2.6.39
Add support for 2.6.39 based on rc3. Runtime tested on bcm63xx.

SVN-Revision: 26615
2011-04-12 19:39:20 +00:00

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