aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/watchdog
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-03-03 08:30:59 -0500
committerWim Van Sebroeck <wim@iguana.be>2011-07-22 04:58:38 -0400
commitbfbc5e272d8aa92f6f9b05361e76e87075111e48 (patch)
treed629faea149f9ea46daaed1184d74b6c5d6d66f3 /drivers/watchdog
parentc9353ae1c69ba13ec9d29ab4f2dae881c2c06a58 (diff)
watchdog: i.MX: use IMX_HAVE_PLATFORM_IMX2_WDT to depend on
The i.MX architecture provides IMX_HAVE_PLATFORM_* macros to signal that a selected SoC supports a certain hardware. Use them instead of depending on ARCH_* directly. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Wim Van Sebroeck <wim@iguana.be> Cc: linux-watchdog@vger.kernel.org
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 de78d0ab041f..df6b8ff26c9d 100644
--- a/drivers/watchdog/Kconfig
+++ b/drivers/watchdog/Kconfig
@@ -330,7 +330,7 @@ config MAX63XX_WATCHDOG
330 330
331config IMX2_WDT 331config IMX2_WDT
332 tristate "IMX2+ Watchdog" 332 tristate "IMX2+ Watchdog"
333 depends on ARCH_MX2 || ARCH_MX25 || ARCH_MX3 || ARCH_MX5 333 depends on IMX_HAVE_PLATFORM_IMX2_WDT
334 help 334 help
335 This is the driver for the hardware watchdog 335 This is the driver for the hardware watchdog
336 on the Freescale IMX2 and later processors. 336 on the Freescale IMX2 and later processors.