aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.14/130-watchdog.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-09-12 06:52:36 +0000
committerJohn Crispin <john@openwrt.org>2014-09-12 06:52:36 +0000
commit2e9deed90a9fcb5ec13976b64e7969f2c9aa5a25 (patch)
tree60bc58031dc7ae7702b74bd433c0cfb7c91aa715 /target/linux/atheros/patches-3.14/130-watchdog.patch
parentd34c3e06746d4681d9b2e47b5f47731971126a41 (diff)
downloadupstream-2e9deed90a9fcb5ec13976b64e7969f2c9aa5a25.tar.gz
upstream-2e9deed90a9fcb5ec13976b64e7969f2c9aa5a25.tar.bz2
upstream-2e9deed90a9fcb5ec13976b64e7969f2c9aa5a25.zip
atheros: various space related changes
- remove odd blank lines - remove odd spaces after casts - fix alignment No functional changes. Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com> SVN-Revision: 42496
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);
+}
+