watchdog: nowayout is bool
[firefly-linux-kernel-4.4.55.git] / drivers / watchdog / wm831x_wdt.c
index 263c883f0806933c80212f00b8e3792c3ed73db6..b3e8a62f27a991728bf1e9a79111a9c986a55072 100644 (file)
@@ -22,8 +22,8 @@
 #include <linux/mfd/wm831x/pdata.h>
 #include <linux/mfd/wm831x/watchdog.h>
 
-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) ")");