summaryrefslogtreecommitdiff
path: root/drivers/char/watchdog/sbc8360.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/watchdog/sbc8360.c')
-rw-r--r--drivers/char/watchdog/sbc8360.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/char/watchdog/sbc8360.c b/drivers/char/watchdog/sbc8360.c
index 06daf426d5b6..c6cbf808d8c2 100644
--- a/drivers/char/watchdog/sbc8360.c
+++ b/drivers/char/watchdog/sbc8360.c
@@ -199,12 +199,7 @@ static int wd_times[64][2] = {
static int timeout = 27;
static int wd_margin = 0xB;
static int wd_multiplier = 2;
-
-#ifdef CONFIG_WATCHDOG_NOWAYOUT
-static int nowayout = 1;
-#else
-static int nowayout = 0;
-#endif
+static int nowayout = WATCHDOG_NOWAYOUT;
module_param(timeout, int, 27);
MODULE_PARM_DESC(timeout, "Index into timeout table (0-63) (default=27 (60s))");