diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-01-26 05:10:45 -0500 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2012-03-27 14:06:16 -0400 |
commit | 85f6df1492ff8b620cf601a1509520d2b89858dd (patch) | |
tree | 8d4303628633518096f0f4c020870673fe6c4619 /drivers/watchdog/Kconfig | |
parent | 86a1e1896c2710402e29a875d8d830244274244d (diff) |
watchdog: Convert jz4740_wdt driver to watchdog core
This patch converts jz4740_wdt driver to use watchdog core APIs.
Also use devm_* APIs to save a few error handling code.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Paul Cercueil <paul@crapouillou.net>
Reviewed-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/Kconfig')
-rw-r--r-- | drivers/watchdog/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 7e9e8f4d8f0c..d5531fb46325 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig | |||
@@ -955,6 +955,7 @@ config INDYDOG | |||
955 | config JZ4740_WDT | 955 | config JZ4740_WDT |
956 | tristate "Ingenic jz4740 SoC hardware watchdog" | 956 | tristate "Ingenic jz4740 SoC hardware watchdog" |
957 | depends on MACH_JZ4740 | 957 | depends on MACH_JZ4740 |
958 | select WATCHDOG_CORE | ||
958 | help | 959 | help |
959 | Hardware driver for the built-in watchdog timer on Ingenic jz4740 SoCs. | 960 | Hardware driver for the built-in watchdog timer on Ingenic jz4740 SoCs. |
960 | 961 | ||