projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9325fa3
)
[WATCHDOG] pnx4008_wdt.c - nowayout patch
author
Wim Van Sebroeck
<wim@iguana.be>
Mon, 3 Jul 2006 07:03:47 +0000
(09:03 +0200)
committer
Wim Van Sebroeck
<wim@iguana.be>
Mon, 2 Oct 2006 21:05:06 +0000
(23:05 +0200)
Change nowayout to: WATCHDOG_NOWAYOUT as defined
in include/linux/watchdog.h .
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/char/watchdog/pnx4008_wdt.c
patch
|
blob
|
history
diff --git
a/drivers/char/watchdog/pnx4008_wdt.c
b/drivers/char/watchdog/pnx4008_wdt.c
index 7ae2d0888218a0415f041cecf60d46112f707339..d36a169c1b86723d421f0f00c8e14fd42988221b 100644
(file)
--- a/
drivers/char/watchdog/pnx4008_wdt.c
+++ b/
drivers/char/watchdog/pnx4008_wdt.c
@@
-77,11
+77,7
@@
#define WDOG_COUNTER_RATE 13000000 /*the counter clock is 13 MHz fixed */
-#ifdef CONFIG_WATCHDOG_NOWAYOUT
-static int nowayout = 1;
-#else
-static int nowayout = 0;
-#endif
+static int nowayout = WATCHDOG_NOWAYOUT;
static int heartbeat = DEFAULT_HEARTBEAT;
static unsigned long wdt_status;