Patchwork [2/6] rtc i.MX Dryice: use IMX_HAVE_PLATFORM_IMXDI_RTC to depend on

login
register
mail settings
Submitter Sascha Hauer
Date March 3, 2011, 1:30 p.m.
Message ID <1299159060-9289-3-git-send-email-s.hauer@pengutronix.de>
Download mbox | patch
Permalink /patch/85286/
State New
Headers show

Comments

Sascha Hauer - March 3, 2011, 1:30 p.m.
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 <s.hauer@pengutronix.de>
Acked-by: Uwe Kleine-K├Ânig <u.kleine-koenig@pengutronix.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: rtc-linux@googlegroups.com
---
 drivers/rtc/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 4941cad..0d73a65 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -581,7 +581,7 @@  config RTC_DRV_MSM6242
 
 config RTC_DRV_IMXDI
 	tristate "Freescale IMX DryIce Real Time Clock"
-	depends on ARCH_MX25
+	depends on IMX_HAVE_PLATFORM_IMXDI_RTC
 	depends on RTC_CLASS
 	help
 	   Support for Freescale IMX DryIce RTC