diff options
author | Francisco Alecrim <francisco.alecrim@indt.org.br> | 2008-03-26 16:08:48 -0400 |
---|---|---|
committer | Pierre Ossman <drzeus@drzeus.cx> | 2008-04-18 14:05:27 -0400 |
commit | d365abe27db12df25660fe254e09876cea8a9ad8 (patch) | |
tree | 04273335d2ae206cd4f83454fcd879e8b242c941 /drivers | |
parent | ec2f362a9126237e79a21d5c3cd225f5a07f8e89 (diff) |
MMC: OMAP: Fix the BYTEBLOCK capability removal
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>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/host/omap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/omap.c b/drivers/mmc/host/omap.c index 472e977b7404..adf679a157eb 100644 --- a/drivers/mmc/host/omap.c +++ b/drivers/mmc/host/omap.c | |||
@@ -1070,7 +1070,7 @@ static int __init mmc_omap_probe(struct platform_device *pdev) | |||
1070 | mmc->f_min = 400000; | 1070 | mmc->f_min = 400000; |
1071 | mmc->f_max = 24000000; | 1071 | mmc->f_max = 24000000; |
1072 | mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34; | 1072 | mmc->ocr_avail = MMC_VDD_32_33 | MMC_VDD_33_34; |
1073 | mmc->caps = MMC_CAP_MULTIWRITE | MMC_CAP_BYTEBLOCK; | 1073 | mmc->caps = MMC_CAP_MULTIWRITE; |
1074 | 1074 | ||
1075 | if (minfo->wire4) | 1075 | if (minfo->wire4) |
1076 | mmc->caps |= MMC_CAP_4_BIT_DATA; | 1076 | mmc->caps |= MMC_CAP_4_BIT_DATA; |