Commit db202f4d authored by Michal Simek's avatar Michal Simek Committed by Wim Van Sebroeck

watchdog: cadence_wdt: Enable access to module parameters

Give read access to module parameters to all and write access to root.
This change also improves driver error path testing.
Signed-off-by: default avatarMichal Simek <>
Reviewed-by: default avatarGuenter Roeck <>
Signed-off-by: default avatarGuenter Roeck <>
Signed-off-by: default avatarWim Van Sebroeck <>
parent 323edb2e
......@@ -52,12 +52,12 @@
static int wdt_timeout;
static int nowayout = WATCHDOG_NOWAYOUT;
module_param(wdt_timeout, int, 0);
module_param(wdt_timeout, int, 0644);
"Watchdog time in seconds. (default="
module_param(nowayout, int, 0);
module_param(nowayout, int, 0644);
"Watchdog cannot be stopped once started (default="
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment