]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb8ae3b20acb67f0e332bbe1696f97fef4657a0f9
tree0e9dc970d01ce89dc7b0d729f6c79d85de901200
parent44f67809fcc7f17a4566a8a38820e6572109eec0
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