projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
atheros: parenthesis around complex macroses value
[openwrt.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
b13c42d
..
8c61c91
100644
(file)
--- a/
target/linux/atheros/patches-3.10/130-watchdog.patch
+++ b/
target/linux/atheros/patches-3.10/130-watchdog.patch
@@
-41,7
+41,7
@@
+#include <ar231x.h>
+
+#define CLOCK_RATE 40000000
-+#define HEARTBEAT(x) (x < 1 || x > 90
)?(20):(
x)
++#define HEARTBEAT(x) (x < 1 || x > 90
? 20 :
x)
+
+static int wdt_timeout = 20;
+static int started = 0;