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)
commit31228f43ab528628c9b5f1351604361aa1d78533
treeb3e2a9be36edb5b2fb5d585377706b1056642590
parent69a160a0543fd569661048a8692c10afcdb1914b
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