summaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.3/209_watchdog_fix.patch
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-06 17:08:30 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-05-06 17:08:30 +0000
commitf31721e174ce5a585785e2800fb6ff6d7496682f (patch)
treeaa22705e5a4838bff72a5494264b029c95760059 /target/linux/atheros/patches-3.3/209_watchdog_fix.patch
parentee6dea474f253067ac8c2712ee8b71501a6bb70d (diff)
atheros: update to 3.3.4 (based on work by acoul), fix mvswitch driver for newer kernels
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31625 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 000000000..bad20e387
--- /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,
+ };