File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,11 @@ static bool booke_wdt_enabled;
39
39
module_param (booke_wdt_enabled , bool , 0 );
40
40
static int booke_wdt_period = CONFIG_BOOKE_WDT_DEFAULT_TIMEOUT ;
41
41
module_param (booke_wdt_period , int , 0 );
42
+ static bool nowayout = WATCHDOG_NOWAYOUT ;
43
+ module_param (nowayout , bool , 0 );
44
+ MODULE_PARM_DESC (nowayout ,
45
+ "Watchdog cannot be stopped once started (default="
46
+ __MODULE_STRING (WATCHDOG_NOWAYOUT ) ")" );
42
47
43
48
#ifdef CONFIG_PPC_FSL_BOOK3E
44
49
@@ -215,7 +220,6 @@ static void __exit booke_wdt_exit(void)
215
220
static int __init booke_wdt_init (void )
216
221
{
217
222
int ret = 0 ;
218
- bool nowayout = WATCHDOG_NOWAYOUT ;
219
223
220
224
pr_info ("powerpc book-e watchdog driver loaded\n" );
221
225
booke_wdt_info .firmware_version = cur_cpu_spec -> pvr_value ;
You can’t perform that action at this time.
0 commit comments