summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-2.6.36/411-gpio_ioctl.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-07-01 03:20:13 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-07-01 03:20:13 +0000
commita41f80bca1ea529feec8b02425574ae3f5c8a6ab (patch)
treeabdca2c48de8ce65050d59d3af34d4f09d408481 /target/linux/generic/patches-2.6.36/411-gpio_ioctl.patch
parent07abf4a81e88b8ee42d2bb79d4abf2250d098d78 (diff)
downloadmtk-20170518-a41f80bca1ea529feec8b02425574ae3f5c8a6ab.zip
mtk-20170518-a41f80bca1ea529feec8b02425574ae3f5c8a6ab.tar.gz
mtk-20170518-a41f80bca1ea529feec8b02425574ae3f5c8a6ab.tar.bz2
fix the gpio_dev driver: remove existing forward port patches, use unlocked_ioctl on all platforms and fix the arguments to the ioctl handler (based on patch from #9198)
SVN-Revision: 27322
Diffstat (limited to 'target/linux/generic/patches-2.6.36/411-gpio_ioctl.patch')
-rw-r--r--target/linux/generic/patches-2.6.36/411-gpio_ioctl.patch11
1 files changed, 0 insertions, 11 deletions
diff --git a/target/linux/generic/patches-2.6.36/411-gpio_ioctl.patch b/target/linux/generic/patches-2.6.36/411-gpio_ioctl.patch
deleted file mode 100644
index 6609a16..0000000
--- a/target/linux/generic/patches-2.6.36/411-gpio_ioctl.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
- };