aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-09-10 10:57:07 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2010-10-01 03:32:15 -0400
commit9f0c11ee67d9a5ab76c27d2f9dbdd9ee85fbce10 (patch)
treeaabb8a4851d52e06ba7fb40e8032e110dd37988b /arch/arm/mach-mx5
parentab5605037c119f1bde0f01786ede16d0ea5dcd8a (diff)
ARM: mx5: add spi_imx device registration
Acked-by: Jason Wang <jason77.wang@gmail.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> 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/mach-mx5')
-rw-r--r--arch/arm/mach-mx5/devices-imx51.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/devices-imx51.h b/arch/arm/mach-mx5/devices-imx51.h
index a3cc3834c9fe..09d2b5c8b4f5 100644
--- a/arch/arm/mach-mx5/devices-imx51.h
+++ b/arch/arm/mach-mx5/devices-imx51.h
@@ -12,3 +12,11 @@
12extern const struct imx_imx_i2c_data imx51_imx_i2c_data[] __initconst; 12extern const struct imx_imx_i2c_data imx51_imx_i2c_data[] __initconst;
13#define imx51_add_imx_i2c(id, pdata) \ 13#define imx51_add_imx_i2c(id, pdata) \
14 imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata) 14 imx_add_imx_i2c(&imx51_imx_i2c_data[id], pdata)
15
16extern const struct imx_spi_imx_data imx51_cspi_data __initconst;
17#define imx51_add_cspi(pdata) \
18 imx_add_spi_imx(&imx51_cspi_data, pdata)
19
20extern const struct imx_spi_imx_data imx51_ecspi_data[] __initconst;
21#define imx51_add_ecspi(id, pdata) \
22 imx_add_spi_imx(&imx51_ecspi_data[id], pdata)