watchdog: i.MX: use IMX_HAVE_PLATFORM_IMX2_WDT to depend on
authorSascha Hauer <[email protected]>
Thu, 3 Mar 2011 13:30:59 +0000 (14:30 +0100)
committerWim Van Sebroeck <[email protected]>
Fri, 22 Jul 2011 08:58:38 +0000 (08:58 +0000)
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 <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
Cc: [email protected]
drivers/watchdog/Kconfig

index de78d0ab041f6b162646affdb14394a7ce637d49..df6b8ff26c9da697053234f1404d7db4a39b4b48 100644 (file)
@@ -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.