diff options
author | Wim Van Sebroeck <wim@iguana.be> | 2005-09-11 17:58:22 -0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2005-09-12 03:37:41 -0400 |
commit | 3908bb1867e7455c4ea132b758970c312513c37d (patch) | |
tree | 03798efb1e31376c1de419a9aceede2478669d7b /drivers/char/watchdog/w83977f_wdt.c | |
parent | b4cc4aa24ca47b6a2bdb9029020502cff7c6e774 (diff) |
[WATCHDOG] sbc8360+w83977f_wdt-consolidate_CONFIG_WATCHDOG_NOWAYOUT_handling
Attached patch removes #ifdef CONFIG_WATCHDOG_NOWAYOUT mess and
replaces it with common define in linux/watchdog.h.
Signed-Off-By: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/char/watchdog/w83977f_wdt.c')
-rw-r--r-- | drivers/char/watchdog/w83977f_wdt.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/char/watchdog/w83977f_wdt.c b/drivers/char/watchdog/w83977f_wdt.c index 366d47bca16e..a7ff64c8921f 100644 --- a/drivers/char/watchdog/w83977f_wdt.c +++ b/drivers/char/watchdog/w83977f_wdt.c | |||
@@ -58,12 +58,7 @@ MODULE_PARM_DESC(timeout,"Watchdog timeout in seconds (15..7635), default=" __MO | |||
58 | module_param(testmode, int, 0); | 58 | module_param(testmode, int, 0); |
59 | MODULE_PARM_DESC(testmode,"Watchdog testmode (1 = no reboot), default=0"); | 59 | MODULE_PARM_DESC(testmode,"Watchdog testmode (1 = no reboot), default=0"); |
60 | 60 | ||
61 | #ifdef CONFIG_WATCHDOG_NOWAYOUT | 61 | static int nowayout = WATCHDOG_NOWAYOUT; |
62 | static int nowayout = 1; | ||
63 | #else | ||
64 | static int nowayout = 0; | ||
65 | #endif | ||
66 | |||
67 | module_param(nowayout, int, 0); | 62 | module_param(nowayout, int, 0); |
68 | MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default=CONFIG_WATCHDOG_NOWAYOUT)"); | 63 | MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default=CONFIG_WATCHDOG_NOWAYOUT)"); |
69 | 64 | ||