]> err.no Git - linux-2.6/commitdiff
[WATCHDOG] pnx4008_wdt.c - nowayout patch
authorWim Van Sebroeck <wim@iguana.be>
Mon, 3 Jul 2006 07:03:47 +0000 (09:03 +0200)
committerWim 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

index 7ae2d0888218a0415f041cecf60d46112f707339..d36a169c1b86723d421f0f00c8e14fd42988221b 100644 (file)
 
 #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;