diff options
author | Guenter Roeck <linux@roeck-us.net> | 2016-02-27 04:32:49 +0300 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2016-03-01 17:36:35 +0300 |
commit | 4d8b229d5ea610affe672e919021e9d02cd877da (patch) | |
tree | a5f42d4a023b28deae9d5944058cd862423be30e /drivers/watchdog/watchdog_core.c | |
parent | 0ce72f354482cfa40fb0a6619511ab94d6daa5e9 (diff) | |
download | linux-4d8b229d5ea610affe672e919021e9d02cd877da.tar.xz |
watchdog: Add 'action' and 'data' parameters to restart handler callback
The 'action' (or restart mode) and data parameters may be used by restart
handlers, so they should be passed to the restart callback functions.
Cc: Sylvain Lemieux <slemieux@tycoint.com>
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/watchdog_core.c b/drivers/watchdog/watchdog_core.c index e600fd93b7de..d9b3c9c023c4 100644 --- a/drivers/watchdog/watchdog_core.c +++ b/drivers/watchdog/watchdog_core.c @@ -164,7 +164,7 @@ static int watchdog_restart_notifier(struct notifier_block *nb, int ret; - ret = wdd->ops->restart(wdd); + ret = wdd->ops->restart(wdd, action, data); if (ret) return NOTIFY_BAD; |