From patchwork Thu Mar 3 13:30:56 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [2/6] rtc i.MX Dryice: use IMX_HAVE_PLATFORM_IMXDI_RTC to depend on Date: Thu, 03 Mar 2011 03:30:56 -0000 From: Sascha Hauer X-Patchwork-Id: 85286 Message-Id: <1299159060-9289-3-git-send-email-s.hauer@pengutronix.de> To: linux-arm-kernel@lists.infradead.org Cc: Sascha Hauer , Alessandro Zummo , rtc-linux@googlegroups.com 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 Acked-by: Uwe Kleine-König Cc: Alessandro Zummo Cc: rtc-linux@googlegroups.com --- drivers/rtc/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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