diff options
author | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2011-12-05 16:19:01 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-12-05 17:57:38 +0100 |
commit | 521c8ff41ecb2e125daa6bfcdbaec63800db7058 (patch) | |
tree | 495e2612b7dbab079c3e0fbfed60c30902dd2b4e /arch/arm/mach-imx/include/mach/devices-imx53.h | |
parent | 133788546c7b00616332ae76c7744f072fe7a543 (diff) | |
download | barebox-521c8ff41ecb2e125daa6bfcdbaec63800db7058.tar.gz barebox-521c8ff41ecb2e125daa6bfcdbaec63800db7058.tar.xz |
imx-esdhc: add support of card detect
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/include/mach/devices-imx53.h')
-rw-r--r-- | arch/arm/mach-imx/include/mach/devices-imx53.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-imx/include/mach/devices-imx53.h b/arch/arm/mach-imx/include/mach/devices-imx53.h index bc32048180..bc01420161 100644 --- a/arch/arm/mach-imx/include/mach/devices-imx53.h +++ b/arch/arm/mach-imx/include/mach/devices-imx53.h @@ -36,17 +36,17 @@ static inline struct device_d *imx53_add_fec(struct fec_platform_data *pdata) return imx_add_fec((void *)MX53_FEC_BASE_ADDR, pdata); } -static inline struct device_d *imx53_add_mmc0(void *pdata) +static inline struct device_d *imx53_add_mmc0(struct esdhc_platform_data *pdata) { return imx_add_esdhc((void *)MX53_ESDHC1_BASE_ADDR, 0, pdata); } -static inline struct device_d *imx53_add_mmc1(void *pdata) +static inline struct device_d *imx53_add_mmc1(struct esdhc_platform_data *pdata) { return imx_add_esdhc((void *)MX53_ESDHC2_BASE_ADDR, 1, pdata); } -static inline struct device_d *imx53_add_mmc2(void *pdata) +static inline struct device_d *imx53_add_mmc2(struct esdhc_platform_data *pdata) { return imx_add_esdhc((void *)MX53_ESDHC3_BASE_ADDR, 2, pdata); } |