]> git.karo-electronics.de Git - karo-tx-linux.git/commit
watchdog: at91sam9_wdt: Convert to use the watchdog framework
authorWenyou Yang <wenyou.yang@atmel.com>
Fri, 1 Feb 2013 07:06:21 +0000 (15:06 +0800)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 18 Feb 2013 19:32:59 +0000 (20:32 +0100)
commita4a4df48b737ccbf29936c2ab762bddf82555d09
tree07a06f631eb9a2a1fbe4aeda7b88e169283a07e1
parent7738f4530ff170692f7132829b9ac986b014fb62
watchdog: at91sam9_wdt: Convert to use the watchdog framework

According to Documentation/watchdog/convert_drivers_to_kernel_api.txt,
remove the file_operations struct, miscdevice, and obsolete includes

Since the at91sam watchdog inherent characteristics, add the watchdog
operations: at91wdt_start, at91wdt_stop and at91wdt_ping.

Signed-off-by: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Cc: linux-watchdog@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
drivers/watchdog/Kconfig
drivers/watchdog/at91sam9_wdt.c