Skip to content

Commit

Permalink
watchdog: imx2_wdt: Select the driver via ARCH_MXC
Browse files Browse the repository at this point in the history
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 <fabio.estevam@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
  • Loading branch information
Fabio Estevam authored and Wim Van Sebroeck committed Dec 19, 2012
1 parent e09d9c3 commit 2d076bb
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 @@ -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.
Expand Down

0 comments on commit 2d076bb

Please sign in to comment.