summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/devices/platform-imxdi_rtc.c
diff options
context:
space:
mode:
authorUwe Kleine-König2010-11-11 18:35:01 +0100
committerUwe Kleine-König2010-11-19 21:54:34 +0100
commit972cc48207450ce6aeed416ac176fe4d0482a4a3 (patch)
treee62a038b396da09b3f3dd5bdf427eb4baa8772da /arch/arm/plat-mxc/devices/platform-imxdi_rtc.c
parentARM: imx: let the machines select SOC_IMX{21,27} (diff)
downloadkernel-qcow2-linux-972cc48207450ce6aeed416ac176fe4d0482a4a3.tar.gz
kernel-qcow2-linux-972cc48207450ce6aeed416ac176fe4d0482a4a3.tar.xz
kernel-qcow2-linux-972cc48207450ce6aeed416ac176fe4d0482a4a3.zip
ARM: imx: use SOC_IMX25 instead of ARCH_MX25 for multi-SoC
Some usages of ARCH_MX25 are assuming that if it is defined the other SoCs are undefined. Use SOC_IMX25 for the save places. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/devices/platform-imxdi_rtc.c')
-rw-r--r--arch/arm/plat-mxc/devices/platform-imxdi_rtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-imxdi_rtc.c b/arch/arm/plat-mxc/devices/platform-imxdi_rtc.c
index 387f65032c1d..10653cc8d1fa 100644
--- a/arch/arm/plat-mxc/devices/platform-imxdi_rtc.c
+++ b/arch/arm/plat-mxc/devices/platform-imxdi_rtc.c
@@ -16,10 +16,10 @@
.irq = soc ## _INT_DRYICE, \
}
-#ifdef CONFIG_ARCH_MX25
+#ifdef CONFIG_SOC_IMX25
const struct imx_imxdi_rtc_data imx25_imxdi_rtc_data __initconst =
imx_imxdi_rtc_data_entry_single(MX25);
-#endif /* ifdef CONFIG_ARCH_MX25 */
+#endif /* ifdef CONFIG_SOC_IMX25 */
struct platform_device *__init imx_add_imxdi_rtc(
const struct imx_imxdi_rtc_data *data)