Browse Source

[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>
Wim Van Sebroeck 19 years ago
parent
commit
2898172708
1 changed files with 1 additions and 5 deletions
  1. 1 5
      drivers/char/watchdog/pnx4008_wdt.c

+ 1 - 5
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;