9
0
Fork 0

mx53: fix devid for imx53_add_mmc1/2

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2011-12-05 16:19:00 +01:00 committed by Sascha Hauer
parent 39e783d4e0
commit 133788546c
1 changed files with 2 additions and 2 deletions

View File

@ -43,12 +43,12 @@ static inline struct device_d *imx53_add_mmc0(void *pdata)
static inline struct device_d *imx53_add_mmc1(void *pdata)
{
return imx_add_esdhc((void *)MX53_ESDHC2_BASE_ADDR, 0, pdata);
return imx_add_esdhc((void *)MX53_ESDHC2_BASE_ADDR, 1, pdata);
}
static inline struct device_d *imx53_add_mmc2(void *pdata)
{
return imx_add_esdhc((void *)MX53_ESDHC3_BASE_ADDR, 0, pdata);
return imx_add_esdhc((void *)MX53_ESDHC3_BASE_ADDR, 2, pdata);
}
static inline struct device_d *imx53_add_nand(struct imx_nand_platform_data *pdata)