From: Sascha Hauer Date: Thu, 3 Mar 2011 13:30:59 +0000 (+0100) Subject: watchdog: i.MX: use IMX_HAVE_PLATFORM_IMX2_WDT to depend on X-Git-Tag: next-20110726~18^2~20 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=612847de52ac50ffa3658b4974fa406412946594;p=karo-tx-linux.git 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 Acked-by: Uwe Kleine-König Signed-off-by: Wim Van Sebroeck Cc: linux-watchdog@vger.kernel.org --- diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 28bf8678b234..372bc6412f95 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -330,7 +330,7 @@ config MAX63XX_WATCHDOG config IMX2_WDT tristate "IMX2+ Watchdog" - depends on ARCH_MX2 || ARCH_MX25 || ARCH_MX3 || ARCH_MX5 + depends on IMX_HAVE_PLATFORM_IMX2_WDT help This is the driver for the hardware watchdog on the Freescale IMX2 and later processors.