diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-07-01 03:20:13 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-07-01 03:20:13 +0000 |
commit | efea8a29c9e4deacf2081967ca70868d7adf524d (patch) | |
tree | 6c516f0435abce2d9613e3f5cac63cb33db02e92 /target/linux/generic/patches-2.6.37 | |
parent | 80af758239af384dad3c5bbd761f08f132355b43 (diff) | |
download | upstream-efea8a29c9e4deacf2081967ca70868d7adf524d.tar.gz upstream-efea8a29c9e4deacf2081967ca70868d7adf524d.tar.bz2 upstream-efea8a29c9e4deacf2081967ca70868d7adf524d.zip |
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)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27322 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.37')
-rw-r--r-- | target/linux/generic/patches-2.6.37/834-gpio_ioctl.patch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/target/linux/generic/patches-2.6.37/834-gpio_ioctl.patch b/target/linux/generic/patches-2.6.37/834-gpio_ioctl.patch deleted file mode 100644 index 3b7063223e..0000000000 --- a/target/linux/generic/patches-2.6.37/834-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 - }; |