aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2012-07-02 17:33:02 -0400
committerWim Van Sebroeck <wim@iguana.be>2012-12-19 16:24:42 -0500
commit2d076bb8397fea2480487e9547e34b8d4f77eb67 (patch)
treeb14116b04c6c44498a09459ff77c3c912600af4f /drivers/watchdog
parente09d9c3e9f85b8190ca1e495890f4cf5ee30baf6 (diff)
watchdog: imx2_wdt: Select the driver via ARCH_MXC
With device tree support in place, we should not use IMX_HAVE_PLATFORM_IMX2_WDT as a dependency for selecting the imx2_wdt driver. Use ARCH_MXC symbol instead, so that the driver can be even selected by a device-tree only SoC, such as i.MX6. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog')
-rw-r--r--drivers/watchdog/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig
index ae5af82ac31a..b19465c15091 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -343,7 +343,7 @@ config MAX63XX_WATCHDOG
343 343
344config IMX2_WDT 344config IMX2_WDT
345 tristate "IMX2+ Watchdog" 345 tristate "IMX2+ Watchdog"
346 depends on IMX_HAVE_PLATFORM_IMX2_WDT 346 depends on ARCH_MXC
347 help 347 help
348 This is the driver for the hardware watchdog 348 This is the driver for the hardware watchdog
349 on the Freescale IMX2 and later processors. 349 on the Freescale IMX2 and later processors.