]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: dw_wdt: add restart handler support
authorJisheng Zhang <jszhang@marvell.com>
Tue, 23 Sep 2014 07:42:12 +0000 (15:42 +0800)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 20 Oct 2014 19:03:06 +0000 (21:03 +0200)
commit44f67809fcc7f17a4566a8a38820e6572109eec0
treeb3e2a9be36edb5b2fb5d585377706b1056642590
parent7dfaa50abea1be830b5b4fb477e1a5a6c9e28b3e
watchdog: dw_wdt: add restart handler support

The kernel core now provides an API to trigger a system restart.
Register with it to support restarting the system via. watchdog.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/dw_wdt.c