summaryrefslogtreecommitdiffstats
path: root/drivers/watchdog/Kconfig
diff options
context:
space:
mode:
authorWenyou Yang <wenyou.yang@atmel.com>2013-02-01 15:06:21 +0800
committerWim Van Sebroeck <wim@iguana.be>2013-03-01 12:49:53 +0100
commit490ac7af8b71069ba0c733052c5f448ac070c947 (patch)
treedc6a42af5b3241721c3dacd01c4c3aa759ea05ad /drivers/watchdog/Kconfig
parent2dd7b24467143c3fd17c6abcaf04fef7976b1528 (diff)
downloadop-kernel-dev-490ac7af8b71069ba0c733052c5f448ac070c947.zip
op-kernel-dev-490ac7af8b71069ba0c733052c5f448ac070c947.tar.gz
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
Diffstat (limited to 'drivers/watchdog/Kconfig')
-rw-r--r--drivers/watchdog/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index f3aae8c..83ac1f7 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -125,6 +125,7 @@ config AT91RM9200_WATCHDOG
config AT91SAM9X_WATCHDOG
tristate "AT91SAM9X / AT91CAP9 watchdog"
depends on ARCH_AT91 && !ARCH_AT91RM9200
+ select WATCHDOG_CORE
help
Watchdog timer embedded into AT91SAM9X and AT91CAP9 chips. This will
reboot your system when the timeout is reached.
OpenPOWER on IntegriCloud