projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
atheros: do not initialize statics to 0 or false
[openwrt/svn-archive/archive.git]
/
target
/
linux
/
atheros
/
patches-3.10
/
130-watchdog.patch
diff --git
a/target/linux/atheros/patches-3.10/130-watchdog.patch
b/target/linux/atheros/patches-3.10/130-watchdog.patch
index f98b6b21685cc57996e9ca54aba068758cdc13e9..506b5f95613db33fef64be6aadea612868f35203 100644
(file)
--- a/
target/linux/atheros/patches-3.10/130-watchdog.patch
+++ b/
target/linux/atheros/patches-3.10/130-watchdog.patch
@@
-44,8
+44,8
@@
+#define HEARTBEAT(x) (x < 1 || x > 90 ? 20 : x)
+
+static int wdt_timeout = 20;
-+static int started
= 0
;
-+static int in_use
= 0
;
++static int started;
++static int in_use;
+
+static void
+ar2315_wdt_enable(void)