watchdog: mach-moxart: add restart handler
authorJonas Jensen <jonas.jensen@gmail.com>
Wed, 18 Dec 2013 15:18:03 +0000 (16:18 +0100)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 28 Jan 2014 20:27:32 +0000 (21:27 +0100)
commit8773926d7135bb2d4e933272cd4c0c3aa5c4a088
treef8a6581167ad86b31405216436968ec8e3408302
parentd5cfaf0a8554ad6b0e74955c7217ed24b2cadc9b
watchdog: mach-moxart: add restart handler

mach-moxart lacks a separate register for reset; as a workaround,
add a function that can be hooked to arm_pm_restart.

Signed-off-by: Jonas Jensen <jonas.jensen@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/moxart_wdt.c