aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-2.6.38/209-watchdog_fix.patch
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2011-04-27 17:18:03 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2011-04-27 17:18:03 +0000
commit8b7a516fa800fe9881cebd9537c1a9de1512c064 (patch)
tree7bcb3cb37f52cbe59c5ed4ca7048b32a25dc9a31 /target/linux/atheros/patches-2.6.38/209-watchdog_fix.patch
parentc2d4e98e34e7ed44f6698bc6944038ddfb617817 (diff)
downloadupstream-8b7a516fa800fe9881cebd9537c1a9de1512c064.tar.gz
upstream-8b7a516fa800fe9881cebd9537c1a9de1512c064.tar.bz2
upstream-8b7a516fa800fe9881cebd9537c1a9de1512c064.zip
linux/atheros: add 2.6.38 preliminary support
SVN-Revision: 26772
Diffstat (limited to 'target/linux/atheros/patches-2.6.38/209-watchdog_fix.patch')
-rw-r--r--target/linux/atheros/patches-2.6.38/209-watchdog_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/atheros/patches-2.6.38/209-watchdog_fix.patch b/target/linux/atheros/patches-2.6.38/209-watchdog_fix.patch
new file mode 100644
index 0000000000..bad20e387a
--- /dev/null
+++ b/target/linux/atheros/patches-2.6.38/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,
+ };