aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/devices/platform-spi_imx.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2010-11-26 09:25:58 -0500
committerSascha Hauer <s.hauer@pengutronix.de>2010-12-03 05:05:13 -0500
commitd94ed1287e11f91e4f4096838179984b0206be5e (patch)
treec887a5dddf65e3046757b2562e6bee40ba349e25 /arch/arm/plat-mxc/devices/platform-spi_imx.c
parentabebbb468050ad63caed55fdb7a6bfce732e9a7f (diff)
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-spi_imx.c')
-rw-r--r--arch/arm/plat-mxc/devices/platform-spi_imx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-spi_imx.c b/arch/arm/plat-mxc/devices/platform-spi_imx.c
index 8f2b60a6396..e1ffa1f665e 100644
--- a/arch/arm/plat-mxc/devices/platform-spi_imx.c
+++ b/arch/arm/plat-mxc/devices/platform-spi_imx.c
@@ -68,7 +68,7 @@ const struct imx_spi_imx_data imx35_cspi_data[] __initconst = {
68}; 68};
69#endif /* ifdef CONFIG_SOC_IMX35 */ 69#endif /* ifdef CONFIG_SOC_IMX35 */
70 70
71#ifdef CONFIG_ARCH_MX51 71#ifdef CONFIG_SOC_IMX51
72const struct imx_spi_imx_data imx51_cspi_data __initconst = 72const struct imx_spi_imx_data imx51_cspi_data __initconst =
73 imx_spi_imx_data_entry_single(MX51, CSPI, "imx51-cspi", 0, , SZ_4K); 73 imx_spi_imx_data_entry_single(MX51, CSPI, "imx51-cspi", 0, , SZ_4K);
74 74
@@ -78,7 +78,7 @@ const struct imx_spi_imx_data imx51_ecspi_data[] __initconst = {
78 imx51_ecspi_data_entry(0, 1), 78 imx51_ecspi_data_entry(0, 1),
79 imx51_ecspi_data_entry(1, 2), 79 imx51_ecspi_data_entry(1, 2),
80}; 80};
81#endif /* ifdef CONFIG_ARCH_MX51 */ 81#endif /* ifdef CONFIG_SOC_IMX51 */
82 82
83struct platform_device *__init imx_add_spi_imx( 83struct platform_device *__init imx_add_spi_imx(
84 const struct imx_spi_imx_data *data, 84 const struct imx_spi_imx_data *data,