summaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-2.6.36/209_watchdog_fix.patch
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-15 14:05:32 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-10-15 14:05:32 +0000
commitc8d95b6e974ea29785e510cd4b3c2da234ac516f (patch)
tree7e7577498cab7838cf9bf9b5eeca2a68b4464abc /target/linux/atheros/patches-2.6.36/209_watchdog_fix.patch
parent34a56d15af7e843136d397c71934fc59131334a4 (diff)
linux/atheros: add preliminary 2.6.36 kernel support (refresh patches)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23454 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/atheros/patches-2.6.36/209_watchdog_fix.patch')
-rw-r--r--target/linux/atheros/patches-2.6.36/209_watchdog_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/atheros/patches-2.6.36/209_watchdog_fix.patch b/target/linux/atheros/patches-2.6.36/209_watchdog_fix.patch
new file mode 100644
index 000000000..bad20e387
--- /dev/null
+++ b/target/linux/atheros/patches-2.6.36/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,
+ };