summaryrefslogtreecommitdiffstats
path: root/drivers/char/watchdog/ixp2000_wdt.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/char/watchdog/ixp2000_wdt.c')
-rw-r--r--drivers/char/watchdog/ixp2000_wdt.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/char/watchdog/ixp2000_wdt.c b/drivers/char/watchdog/ixp2000_wdt.c
index 4b03951..e7640bc 100644
--- a/drivers/char/watchdog/ixp2000_wdt.c
+++ b/drivers/char/watchdog/ixp2000_wdt.c
@@ -30,11 +30,7 @@
#include <asm/hardware.h>
#include <asm/uaccess.h>
-#ifdef CONFIG_WATCHDOG_NOWAYOUT
-static int nowayout = 1;
-#else
-static int nowayout = 0;
-#endif
+static int nowayout = WATCHDOG_NOWAYOUT;
static unsigned int heartbeat = 60; /* (secs) Default is 1 minute */
static unsigned long wdt_status;
OpenPOWER on IntegriCloud