]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/watchdog/gef_wdt.c
watchdog: nowayout is bool
[karo-tx-linux.git] / drivers / watchdog / gef_wdt.c
index d95203be37ad9226c34adb2a5b1dd3aebf9f897f..17f4cae770c673190a96c996997a4fc06c80285b 100644 (file)
@@ -70,8 +70,8 @@ static unsigned int bus_clk;
 static char expect_close;
 static DEFINE_SPINLOCK(gef_wdt_spinlock);
 
-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) ")");