aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-mxc/devices
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2010-08-20 10:43:54 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-01 03:33:00 -0400
commitb86186610f639344a7db54da89267f645afc30ec (patch)
treec52f7f316ac08daf4ea81262dd36af1427940093 /arch/arm/plat-mxc/devices
parent04b73b1571c26d491c62c42cb06b96bf482fa7a2 (diff)
ARM: mx51: add imx-ssi devices
Signed-off-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')
-rw-r--r--arch/arm/plat-mxc/devices/platform-imx-ssi.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-imx-ssi.c b/arch/arm/plat-mxc/devices/platform-imx-ssi.c
index 1535bc9f0601..38a7a0b8f2f1 100644
--- a/arch/arm/plat-mxc/devices/platform-imx-ssi.c
+++ b/arch/arm/plat-mxc/devices/platform-imx-ssi.c
@@ -66,6 +66,15 @@ const struct imx_imx_ssi_data imx35_imx_ssi_data[] __initconst = {
66}; 66};
67#endif /* ifdef CONFIG_ARCH_MX35 */ 67#endif /* ifdef CONFIG_ARCH_MX35 */
68 68
69#ifdef CONFIG_ARCH_MX51
70const struct imx_imx_ssi_data imx51_imx_ssi_data[] __initconst = {
71#define imx51_imx_ssi_data_entry(_id, _hwid) \
72 imx_imx_ssi_data_entry(MX51, _id, _hwid, SZ_4K)
73 imx51_imx_ssi_data_entry(0, 1),
74 imx51_imx_ssi_data_entry(1, 2),
75};
76#endif /* ifdef CONFIG_ARCH_MX51 */
77
69struct platform_device *__init imx_add_imx_ssi( 78struct platform_device *__init imx_add_imx_ssi(
70 const struct imx_imx_ssi_data *data, 79 const struct imx_imx_ssi_data *data,
71 const struct imx_ssi_platform_data *pdata) 80 const struct imx_ssi_platform_data *pdata)