]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/watchdog/w83977f_wdt.c
watchdog: nowayout is bool
[mirror_ubuntu-artful-kernel.git] / drivers / watchdog / w83977f_wdt.c
index d301b1bf1664a199c8140edb5266dd2d9d12c209..56bfded1f3619b7fafeb99963b988951a4d3b093 100644 (file)
@@ -59,8 +59,8 @@ MODULE_PARM_DESC(timeout,
 module_param(testmode, int, 0);
 MODULE_PARM_DESC(testmode, "Watchdog testmode (1 = no reboot), default=0");
 
-static int nowayout = WATCHDOG_NOWAYOUT;
-module_param(nowayout, int, 0);
+static bool nowayout = WATCHDOG_NOWAYOUT;
+module_param(nowayout, bool, 0);
 MODULE_PARM_DESC(nowayout,
                "Watchdog cannot be stopped once started (default="
                                __MODULE_STRING(WATCHDOG_NOWAYOUT) ")");