]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Add MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags in omap.c
authorCarlos Aguiar <carlos.aguiar>
Fri, 10 Nov 2006 00:36:03 +0000 (02:36 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 10 Nov 2006 00:36:03 +0000 (02:36 +0200)
Add MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags

Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar <at> indt.org.br>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/mmc/omap.c

index f23a0ce8f87afee4fe3959ca70d0c53770c4eda0..6861cbe884e0b7cdef1fa4aa4d83bd72f6c46bcc 100644 (file)
@@ -1088,8 +1088,8 @@ static int __init mmc_omap_probe(struct platform_device *pdev)
        mmc->ops = &mmc_omap_ops;
        mmc->f_min = 400000;
        mmc->f_max = 24000000;
-       mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34 | MMC_CAP_MULTIWRITE
-                               | MMC_CAP_BYTEBLOCK;
+       mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34;
+       mmc->caps = MMC_CAP_MULTIWRITE | MMC_CAP_BYTEBLOCK;
 
        if (minfo->wire4)
                 mmc->caps |= MMC_CAP_4_BIT_DATA;