Commit 2ca1bbff authored by Wim Van Sebroeck's avatar Wim Van Sebroeck Committed by Linus Torvalds

[WATCHDOG] s3c2410_wdt.c-wdog-fix5.patch

Changed nowayout handling so that it uses the "Kconfig" value.
parent 7898d62c
...@@ -55,13 +55,17 @@ ...@@ -55,13 +55,17 @@
#define PFX "s3c2410-wdt: " #define PFX "s3c2410-wdt: "
#define CONFIG_WATCHDOG_NOWAYOUT (0)
#define CONFIG_S3C2410_WATCHDOG_ATBOOT (0) #define CONFIG_S3C2410_WATCHDOG_ATBOOT (0)
#define CONFIG_S3C2410_WATCHDOG_DEFAULT_TIME (15) #define CONFIG_S3C2410_WATCHDOG_DEFAULT_TIME (15)
#ifdef CONFIG_WATCHDOG_NOWAYOUT
static int nowayout = 1;
#else
static int nowayout = 0;
#endif
static int tmr_margin = CONFIG_S3C2410_WATCHDOG_DEFAULT_TIME; static int tmr_margin = CONFIG_S3C2410_WATCHDOG_DEFAULT_TIME;
static int tmr_atboot = CONFIG_S3C2410_WATCHDOG_ATBOOT; static int tmr_atboot = CONFIG_S3C2410_WATCHDOG_ATBOOT;
static int nowayout = CONFIG_WATCHDOG_NOWAYOUT;
static int soft_noboot = 0; static int soft_noboot = 0;
static int debug = 0; static int debug = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment