watchdog: imx2_wdt: Select the driver via ARCH_MXC
authorFabio Estevam <[email protected]>
Mon, 2 Jul 2012 21:33:02 +0000 (18:33 -0300)
committerWim Van Sebroeck <[email protected]>
Wed, 19 Dec 2012 21:24:42 +0000 (22:24 +0100)
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 <[email protected]>
Acked-by: Shawn Guo <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
drivers/watchdog/Kconfig

index ae5af82ac31a23267fa5356be777bfd180becbdc..b19465c1509147b7f0cbca3984576d72e9927525 100644 (file)
@@ -343,7 +343,7 @@ config MAX63XX_WATCHDOG
 
 config IMX2_WDT
        tristate "IMX2+ Watchdog"
-       depends on IMX_HAVE_PLATFORM_IMX2_WDT
+       depends on ARCH_MXC
        help
          This is the driver for the hardware watchdog
          on the Freescale IMX2 and later processors.