]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
OMAP: Fix the BYTEBLOCK capability removal
authorFrancisco Alecrim <francisco.alecrim@indt.org.br>
Mon, 5 Nov 2007 14:54:21 +0000 (10:54 -0400)
committerTony Lindgren <tony@atomide.com>
Thu, 15 Nov 2007 21:20:09 +0000 (13:20 -0800)
According with commit 255d01af9a990fd5166f04ed0cc0b30b7b67e81e
from Linux-OMAP tree, the BYTEBLOCK capability was removed by Pierre Ossman.
MMC_CAP_BYTEBLOCK is not defined causing the compile error:

drivers/mmc/host/omap.c: In function `mmc_omap_probe':
drivers/mmc/host/omap.c:1077: error: `MMC_CAP_BYTEBLOCK' undeclared (first use in this function)
drivers/mmc/host/omap.c:1077: error: (Each undeclared identifier is reported only once
drivers/mmc/host/omap.c:1077: error: for each function it appears in.)

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

index 87dc63a9c725c0fb2114b36aa010a0d7a0ed50f2..ea8dbde0f344f4504bd5ca5234e09829c212af1b 100644 (file)
@@ -1074,7 +1074,7 @@ static int __init mmc_omap_probe(struct platform_device *pdev)
        mmc->f_min = 400000;
        mmc->f_max = 24000000;
        mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34;
-       mmc->caps = MMC_CAP_MULTIWRITE | MMC_CAP_BYTEBLOCK;
+       mmc->caps = MMC_CAP_MULTIWRITE;
 
        if (minfo->wire4)
                 mmc->caps |= MMC_CAP_4_BIT_DATA;