diff options
Diffstat (limited to 'drivers/watchdog/lantiq_wdt.c')
-rw-r--r-- | drivers/watchdog/lantiq_wdt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/watchdog/lantiq_wdt.c b/drivers/watchdog/lantiq_wdt.c index 83044351042c..a9593a3a32a0 100644 --- a/drivers/watchdog/lantiq_wdt.c +++ b/drivers/watchdog/lantiq_wdt.c | |||
@@ -40,7 +40,7 @@ | |||
40 | #define LTQ_WDT_DIVIDER 0x40000 | 40 | #define LTQ_WDT_DIVIDER 0x40000 |
41 | #define LTQ_MAX_TIMEOUT ((1 << 16) - 1) /* the reload field is 16 bit */ | 41 | #define LTQ_MAX_TIMEOUT ((1 << 16) - 1) /* the reload field is 16 bit */ |
42 | 42 | ||
43 | static int nowayout = WATCHDOG_NOWAYOUT; | 43 | static bool nowayout = WATCHDOG_NOWAYOUT; |
44 | 44 | ||
45 | static void __iomem *ltq_wdt_membase; | 45 | static void __iomem *ltq_wdt_membase; |
46 | static unsigned long ltq_io_region_clk_rate; | 46 | static unsigned long ltq_io_region_clk_rate; |
@@ -251,7 +251,7 @@ exit_ltq_wdt(void) | |||
251 | module_init(init_ltq_wdt); | 251 | module_init(init_ltq_wdt); |
252 | module_exit(exit_ltq_wdt); | 252 | module_exit(exit_ltq_wdt); |
253 | 253 | ||
254 | module_param(nowayout, int, 0); | 254 | module_param(nowayout, bool, 0); |
255 | MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started"); | 255 | MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started"); |
256 | 256 | ||
257 | MODULE_AUTHOR("John Crispin <blogic@openwrt.org>"); | 257 | MODULE_AUTHOR("John Crispin <blogic@openwrt.org>"); |