]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mmc/host/omap_hsmmc.c
HSMMC: Improve the interface for hsmmc_init()
[linux-2.6-omap-h63xx.git] / drivers / mmc / host / omap_hsmmc.c
index 3ba24be0113a3ddbc205f39cb522e54003f40c68..8f92f8092778fcf5b303dacb185df374b40d7f7d 100644 (file)
@@ -936,7 +936,7 @@ static int __init omap_mmc_probe(struct platform_device *pdev)
        mmc->ocr_avail = mmc_slot(host).ocr_mask;
        mmc->caps |= MMC_CAP_MMC_HIGHSPEED | MMC_CAP_SD_HIGHSPEED;
 
-       if (pdata->slots[host->slot_id].wire4)
+       if (pdata->slots[host->slot_id].wires >= 4)
                mmc->caps |= MMC_CAP_4_BIT_DATA;
 
        /* Only MMC1 supports 3.0V */