summaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.14/130-watchdog.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/atheros/patches-3.14/130-watchdog.patch')
-rw-r--r--target/linux/atheros/patches-3.14/130-watchdog.patch5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/linux/atheros/patches-3.14/130-watchdog.patch b/target/linux/atheros/patches-3.14/130-watchdog.patch
index 149bd458c2..8d65ffa344 100644
--- a/target/linux/atheros/patches-3.14/130-watchdog.patch
+++ b/target/linux/atheros/patches-3.14/130-watchdog.patch
@@ -1,6 +1,6 @@
--- /dev/null
+++ b/drivers/watchdog/ar2315-wtd.c
-@@ -0,0 +1,208 @@
+@@ -0,0 +1,209 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
@@ -77,7 +77,8 @@
+ if (in_use)
+ return -EBUSY;
+ ar2315_wdt_enable();
-+ in_use = started = 1;
++ in_use = 1;
++ started = 1;
+ return nonseekable_open(inode, file);
+}
+