]> 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)
commit7d77e23c151a0c75a26fb8756eacd84008c3d8cb
treebc7ea47ee66c67c69b8b1ad2e853e82a5ac83bd6
parentbb6dd33dabf593798ac1c2504c5d36ee032c47df
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