summaryrefslogtreecommitdiff
path: root/target/linux/atheros/patches-2.6.37/209_watchdog_fix.patch
diff options
context:
space:
mode:
authorAlexandros C. Couloumbis <alex@ozo.com>2010-11-08 11:12:59 +0000
committerAlexandros C. Couloumbis <alex@ozo.com>2010-11-08 11:12:59 +0000
commit8e971aa9ce3a4b60043f016d0b17f70ed27b6002 (patch)
tree295ab67bae41714742217cee2586a8dd7f022417 /target/linux/atheros/patches-2.6.37/209_watchdog_fix.patch
parenta0992676b473a0840c3dc7e9ad51dc7c0cd2328c (diff)
downloadmtk-20170518-8e971aa9ce3a4b60043f016d0b17f70ed27b6002.zip
mtk-20170518-8e971aa9ce3a4b60043f016d0b17f70ed27b6002.tar.gz
mtk-20170518-8e971aa9ce3a4b60043f016d0b17f70ed27b6002.tar.bz2
linux/atheros: add preliminary 2.6.37 kernel support (thank you nbd, florian)
SVN-Revision: 23928
Diffstat (limited to 'target/linux/atheros/patches-2.6.37/209_watchdog_fix.patch')
-rw-r--r--target/linux/atheros/patches-2.6.37/209_watchdog_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/target/linux/atheros/patches-2.6.37/209_watchdog_fix.patch b/target/linux/atheros/patches-2.6.37/209_watchdog_fix.patch
new file mode 100644
index 0000000..bad20e3
--- /dev/null
+++ b/target/linux/atheros/patches-2.6.37/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,
+ };