diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-05 12:26:09 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-17 04:01:30 -0500 |
commit | 9d3d945a8d5be2c915f646e8dff8422486a77030 (patch) | |
tree | 7e0557484ef0e8c6de6e5da3f9d7b08ab1b5b2c4 /arch/arm/plat-mxc/include/mach/devices-common.h | |
parent | c194daad0e0de94ed5e03aa723eb56b4a3ae9738 (diff) |
ARM: imx: dynamically register mxc-mmc devices
... plus a trivial simplification of mx21ads_sdhc_init()
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/include/mach/devices-common.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/devices-common.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/devices-common.h b/arch/arm/plat-mxc/include/mach/devices-common.h index e241e41e7484..bb3b29c7fc35 100644 --- a/arch/arm/plat-mxc/include/mach/devices-common.h +++ b/arch/arm/plat-mxc/include/mach/devices-common.h | |||
@@ -151,6 +151,17 @@ struct platform_device *__init imx_add_mx2_camera( | |||
151 | const struct imx_mx2_camera_data *data, | 151 | const struct imx_mx2_camera_data *data, |
152 | const struct mx2_camera_platform_data *pdata); | 152 | const struct mx2_camera_platform_data *pdata); |
153 | 153 | ||
154 | #include <mach/mmc.h> | ||
155 | struct imx_mxc_mmc_data { | ||
156 | int id; | ||
157 | resource_size_t iobase; | ||
158 | resource_size_t irq; | ||
159 | resource_size_t dmareq; | ||
160 | }; | ||
161 | struct platform_device *__init imx_add_mxc_mmc( | ||
162 | const struct imx_mxc_mmc_data *data, | ||
163 | const struct imxmmc_platform_data *pdata); | ||
164 | |||
154 | #include <mach/mxc_nand.h> | 165 | #include <mach/mxc_nand.h> |
155 | struct imx_mxc_nand_data { | 166 | struct imx_mxc_nand_data { |
156 | /* | 167 | /* |