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)
  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>

No differences found