Skip to content

Commit

Permalink
watchdog: i.MX: use IMX_HAVE_PLATFORM_IMX2_WDT to depend on
Browse files Browse the repository at this point in the history
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]
  • Loading branch information
saschahauer authored and Wim Van Sebroeck committed Jul 22, 2011
1 parent c9353ae commit bfbc5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/watchdog/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bfbc5e2

Please sign in to comment.