]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mmc/host/omap.c
omap mmc: Add low-level initialization for hsmmc controller
[linux-2.6-omap-h63xx.git] / drivers / mmc / host / omap.c
index c6544d2d072a131c06b97bc1af15fb524be69be7..67d7b7fef084f1a064d4f7834a37af0059c96f99 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->slots[id].wire4)
+       if (host->pdata->slots[id].wires >= 4)
                mmc->caps |= MMC_CAP_4_BIT_DATA;
 
        mmc->ops = &mmc_omap_ops;