aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.3/209_watchdog_fix.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-06 17:08:30 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-05-06 17:08:30 +0000
commit9b20187ad5a2055bcabb3ee905afade92aaa3be2 (patch)
treeeb5307a5e2a7d77d4a5f2ff535c85b957990f047 /target/linux/atheros/patches-3.3/209_watchdog_fix.patch
parent9a34f9d01e04ae80e1eba30deaf7fc8382d01706 (diff)
downloadupstream-9b20187ad5a2055bcabb3ee905afade92aaa3be2.tar.gz
upstream-9b20187ad5a2055bcabb3ee905afade92aaa3be2.tar.bz2
upstream-9b20187ad5a2055bcabb3ee905afade92aaa3be2.zip
atheros: update to 3.3.4 (based on work by acoul), fix mvswitch driver for newer kernels
SVN-Revision: 31625
Diffstat (limited to 'target/linux/atheros/patches-3.3/209_watchdog_fix.patch')
-rw-r--r--target/linux/atheros/patches-3.3/209_watchdog_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/atheros/patches-3.3/209_watchdog_fix.patch b/target/linux/atheros/patches-3.3/209_watchdog_fix.patch
new file mode 100644
index 0000000000..bad20e387a
--- /dev/null
+++ b/target/linux/atheros/patches-3.3/209_watchdog_fix.patch
@@ -0,0 +1,11 @@
+--- a/drivers/watchdog/ar2315-wtd.c
++++ b/drivers/watchdog/ar2315-wtd.c
+@@ -132,7 +132,7 @@ static struct file_operations ar2315_wdt
+ .owner = THIS_MODULE,
+ .llseek = no_llseek,
+ .write = ar2315_wdt_write,
+- .ioctl = ar2315_wdt_ioctl,
++ .unlocked_ioctl = ar2315_wdt_ioctl,
+ .open = ar2315_wdt_open,
+ .release = ar2315_wdt_release,
+ };