summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWim Van Sebroeck <wim@iguana.be>2006-07-03 07:03:47 (GMT)
committerWim Van Sebroeck <wim@iguana.be>2006-10-02 21:05:06 (GMT)
commit2898172708aa84c9b0ce3865d6ff1ef76b538f51 (patch)
tree8c925b3c76b93ff861646e3684d052ad8663b482 /drivers
parent9325fa36151fb9af39e697a6cd87e82667e2d8f9 (diff)
downloadlinux-2898172708aa84c9b0ce3865d6ff1ef76b538f51.tar.xz
[WATCHDOG] pnx4008_wdt.c - nowayout patch
Change nowayout to: WATCHDOG_NOWAYOUT as defined in include/linux/watchdog.h . Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/watchdog/pnx4008_wdt.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/char/watchdog/pnx4008_wdt.c b/drivers/char/watchdog/pnx4008_wdt.c
index 7ae2d08..d36a169 100644
--- 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;