watchdog: davinci_wdt: add restart function
authorDavid Lechner <david@lechnology.com>
Mon, 11 Dec 2017 17:21:08 +0000 (11:21 -0600)
committerWim Van Sebroeck <wim@iguana.be>
Thu, 28 Dec 2017 19:45:56 +0000 (20:45 +0100)
commit71d1f058844de6052835549f06c113f5014a8290
tree0f4c6521e144776d356387c4deb5cd45976848b4
parent8bc86475a0ded71bb0cfa95d88b1708292741356
watchdog: davinci_wdt: add restart function

This adds a restart function to the davinci watchdog timer driver.

This is copied from arch/arm/mach-davinci/time.c and will allow us to
remove the code from there.

Signed-off-by: David Lechner <david@lechnology.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/davinci_wdt.c