mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-16 17:12:50 -04:00
watchdog: loongson1: Add missing MODULE_PARM_DESC
Add documentation for module_param so that they're visible with modinfo command. Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>
This commit is contained in:
committed by
Wim Van Sebroeck
parent
f0a4bf61f1
commit
f909b3d4f1
@@ -18,10 +18,14 @@
|
||||
#define DEFAULT_HEARTBEAT 30
|
||||
|
||||
static bool nowayout = WATCHDOG_NOWAYOUT;
|
||||
module_param(nowayout, bool, 0444);
|
||||
module_param(nowayout, bool, 0);
|
||||
MODULE_PARM_DESC(nowayout, "Watchdog cannot be stopped once started (default="
|
||||
__MODULE_STRING(WATCHDOG_NOWAYOUT) ")");
|
||||
|
||||
static unsigned int heartbeat;
|
||||
module_param(heartbeat, uint, 0444);
|
||||
module_param(heartbeat, uint, 0);
|
||||
MODULE_PARM_DESC(heartbeat, "Watchdog heartbeat in seconds. (default="
|
||||
__MODULE_STRING(DEFAULT_HEARTBEAT) ")");
|
||||
|
||||
struct ls1x_wdt_drvdata {
|
||||
void __iomem *base;
|
||||
|
||||
Reference in New Issue
Block a user