aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/atheros/patches-3.14/130-watchdog.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-09-12 06:52:36 +0000
committerJohn Crispin <blogic@openwrt.org>2014-09-12 06:52:36 +0000
commit8606fe1b3db2102f08e63703673ada210211fafc (patch)
treeeb43fe9be4d1fae12b4a16ff40f8c661953f6470 /target/linux/atheros/patches-3.14/130-watchdog.patch
parent88b1a1983a39c8a74c690b99194ea71547c7c175 (diff)
downloadupstream-8606fe1b3db2102f08e63703673ada210211fafc.tar.gz
upstream-8606fe1b3db2102f08e63703673ada210211fafc.tar.bz2
upstream-8606fe1b3db2102f08e63703673ada210211fafc.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42496 3c298f89-4303-0410-b956-a3cf2f4a3e73
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);
+}
+