]> git.baikalelectronics.ru Git - kernel.git/commit
watchdog: imx2_wdt: add restart handler support
authorJingchang Lu <jingchang.lu@freescale.com>
Fri, 12 Sep 2014 07:24:36 +0000 (15:24 +0800)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 20 Oct 2014 19:04:50 +0000 (21:04 +0200)
commit6e8b7e12ad7a1e24b5899b933644456dcd6a3ff2
treebc7ea47ee66c67c69b8b1ad2e853e82a5ac83bd6
parent9a40da030b3ebdd120cb905168580269785a5368
watchdog: imx2_wdt: add restart handler support

  Register the watchdog as the system restart function
to the new introducing kernel restart call chain in the
driver instead of providing the restart in machine desc.
  This restart handler function is from the mxc_restart()
in arch/arm/mach-imx/system.c

Signed-off-by: Jingchang Lu <jingchang.lu@freescale.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/imx2_wdt.c