summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/devices/platform-sdhci-esdhc-imx.c
diff options
context:
space:
mode:
authorFabio Estevam2010-11-26 15:25:58 +0100
committerSascha Hauer2010-12-03 11:05:13 +0100
commitd94ed1287e11f91e4f4096838179984b0206be5e (patch)
treec887a5dddf65e3046757b2562e6bee40ba349e25 /arch/arm/plat-mxc/devices/platform-sdhci-esdhc-imx.c
parentarm: dma: check clk_get() result (diff)
downloadkernel-qcow2-linux-d94ed1287e11f91e4f4096838179984b0206be5e.tar.gz
kernel-qcow2-linux-d94ed1287e11f91e4f4096838179984b0206be5e.tar.xz
kernel-qcow2-linux-d94ed1287e11f91e4f4096838179984b0206be5e.zip
ARM: mx5: introduce SOC_IMX51
Introduce SOC_IMX51 to keep consistency with the other i.MX devices Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/devices/platform-sdhci-esdhc-imx.c')
-rw-r--r--arch/arm/plat-mxc/devices/platform-sdhci-esdhc-imx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-sdhci-esdhc-imx.c b/arch/arm/plat-mxc/devices/platform-sdhci-esdhc-imx.c
index 167cce89e7c7..b3525648a01d 100644
--- a/arch/arm/plat-mxc/devices/platform-sdhci-esdhc-imx.c
+++ b/arch/arm/plat-mxc/devices/platform-sdhci-esdhc-imx.c
@@ -41,7 +41,7 @@ imx35_sdhci_esdhc_imx_data[] __initconst = {
};
#endif /* ifdef CONFIG_SOC_IMX35 */
-#ifdef CONFIG_ARCH_MX51
+#ifdef CONFIG_SOC_IMX51
const struct imx_sdhci_esdhc_imx_data
imx51_sdhci_esdhc_imx_data[] __initconst = {
#define imx51_sdhci_esdhc_imx_data_entry(_id, _hwid) \
@@ -51,7 +51,7 @@ imx51_sdhci_esdhc_imx_data[] __initconst = {
imx51_sdhci_esdhc_imx_data_entry(2, 3),
imx51_sdhci_esdhc_imx_data_entry(3, 4),
};
-#endif /* ifdef CONFIG_ARCH_MX51 */
+#endif /* ifdef CONFIG_SOC_IMX51 */
struct platform_device *__init imx_add_sdhci_esdhc_imx(
const struct imx_sdhci_esdhc_imx_data *data,