]> git.baikalelectronics.ru Git - kernel.git/commit
[WATCHDOG] ar7_wdt: convert to become a platform driver
authorFlorian Fainelli <florian@openwrt.org>
Tue, 21 Jul 2009 10:11:32 +0000 (12:11 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 18 Sep 2009 08:37:58 +0000 (08:37 +0000)
commitd8ee1dcb5d703de70669d4726223d1afbe476b13
treef386e40d83ca8ab21f1355d9cec4aff08161cdfe
parent62b0c6ef66f4ffd12233f696de7224237171cb03
[WATCHDOG] ar7_wdt: convert to become a platform driver

This patch converts the ar7_wdt driver to become
a platform driver. The AR7 SoC specific identification
and base register calculation is performed by the board
code, therefore we no longer need to have access to
ar7_chip_id. We also remove the reboot notifier code to
use the platform shutdown method as Wim suggested.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/ar7_wdt.c