]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mmc/host/omap.c
ARM: OMAP: Clean-up MMC device init
[linux-2.6-omap-h63xx.git] / drivers / mmc / host / omap.c
index 1b9fc3c6b8752240c591aa23ed6a7d0f13bbea44..608829423c22fc66db336359b771b13f829d693f 100644 (file)
@@ -1317,7 +1317,7 @@ static int __init mmc_omap_new_slot(struct mmc_omap_host *host, int id)
        host->slots[id] = slot;
 
        mmc->caps = 0;
-       if (host->pdata->conf.wire4)
+       if (host->pdata->slots[id].wire4)
                mmc->caps |= MMC_CAP_4_BIT_DATA;
 
        mmc->ops = &mmc_omap_ops;