watchdog: s3c2410: add restart handler
authorHeiko Stuebner <heiko@sntech.de>
Wed, 20 Aug 2014 00:45:36 +0000 (17:45 -0700)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 20 Oct 2014 19:03:37 +0000 (21:03 +0200)
commitf286e1335f579dfd970c7fc3f62b248773a47a5c
tree0e9dc970d01ce89dc7b0d729f6c79d85de901200
parent31228f43ab528628c9b5f1351604361aa1d78533
watchdog: s3c2410: add restart handler

On a lot of Samsung systems the watchdog is responsible for restarting the
system and until now this code was contained in plat-samsung/watchdog-reset.c.

With the introduction of the restart handlers, this code can now move into
driver itself, removing the need for arch-specific code.

Tested on a S3C2442 based GTA02

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/watchdog/s3c2410_wdt.c