aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/watchdog_core.c
diff options
context:
space:
mode:
authorCorentin Labbe <clabbe.montjoie@gmail.com>2017-12-13 20:41:40 +0100
committerWim Van Sebroeck <wim@iguana.be>2017-12-28 20:45:56 +0100
commit8bc86475a0ded71bb0cfa95d88b1708292741356 (patch)
treeaa17e1ff450d590ac62e58856d06a83beb2a7275 /drivers/watchdog/watchdog_core.c
parentwatchdog: hpwdt: fix unused variable warning (diff)
downloadlinux-dev-8bc86475a0ded71bb0cfa95d88b1708292741356.tar.xz
linux-dev-8bc86475a0ded71bb0cfa95d88b1708292741356.zip
watchdog: document watchdog_init_timeout() wdd parameter
All parameters of watchdog_init_timeout() are documented with exception of wdd, thus generating a build warning. This patch document it and so remove the following build warning: drivers/watchdog/watchdog_core.c:113: warning: No description found for parameter 'wdd' Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/watchdog_core.c')
-rw-r--r--drivers/watchdog/watchdog_core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/watchdog_core.c b/drivers/watchdog/watchdog_core.c
index 8a8d952f8df9..eb8fa25f8eb2 100644
--- a/drivers/watchdog/watchdog_core.c
+++ b/drivers/watchdog/watchdog_core.c
@@ -97,6 +97,7 @@ static void watchdog_check_min_max_timeout(struct watchdog_device *wdd)
/**
* watchdog_init_timeout() - initialize the timeout field
+ * @wdd: watchdog device
* @timeout_parm: timeout module parameter
* @dev: Device that stores the timeout-sec property
*