mirror of
https://gitee.com/open-loongarch/linux-6.12.git
synced 2026-10-29 06:27:12 +08: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> Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
committed by
maoxiaochuan
parent
fdf7edb4d9
commit
55caee080e
@@ -18,10 +18,14 @@
|
|||||||
#define DEFAULT_HEARTBEAT 30
|
#define DEFAULT_HEARTBEAT 30
|
||||||
|
|
||||||
static bool nowayout = WATCHDOG_NOWAYOUT;
|
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;
|
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 {
|
struct ls1x_wdt_drvdata {
|
||||||
void __iomem *base;
|
void __iomem *base;
|
||||||
|
|||||||
Reference in New Issue
Block a user