watchdog: nowayout is bool
[sfrench/cifs-2.6.git] / drivers / watchdog / it8712f_wdt.c
index ebd1793b9565bfe37954eaef8601405a05ebc9a8..f4cce6d66a5573b42afb4517a26752fe15b2a5be 100644 (file)
@@ -48,8 +48,8 @@ static int margin = 60;               /* in seconds */
 module_param(margin, int, 0);
 MODULE_PARM_DESC(margin, "Watchdog margin in seconds");
 
-static int nowayout = WATCHDOG_NOWAYOUT;
-module_param(nowayout, int, 0);
+static bool nowayout = WATCHDOG_NOWAYOUT;
+module_param(nowayout, bool, 0);
 MODULE_PARM_DESC(nowayout, "Disable watchdog shutdown on close");
 
 static unsigned long wdt_open;