summaryrefslogtreecommitdiff
path: root/drivers/mmc/bfin_sdh.c
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2014-03-28 16:55:29 -0400
committerTom Rini <trini@ti.com>2014-03-28 16:55:29 -0400
commit0b2da7e209f4110b7c81d578336a10330e4a4404 (patch)
treece26957a2c2dc0a59d148722a1ab1a918a1dd154 /drivers/mmc/bfin_sdh.c
parent423ec7fed2e0877af412c5d787e9ad9d30f0ba5d (diff)
downloadu-boot-0b2da7e209f4110b7c81d578336a10330e4a4404.tar.gz
u-boot-0b2da7e209f4110b7c81d578336a10330e4a4404.tar.bz2
u-boot-0b2da7e209f4110b7c81d578336a10330e4a4404.zip
blackfin: mmc: Correct mmc_host_is_spi and bfin_sdh.c
In the recent mmc cleanup, the mmc_host_is_spi macro was broken and bfin_sdh.c had mmc->bus_width turned into mmc_bus_width(mmc), both of which were incorrect. Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'drivers/mmc/bfin_sdh.c')
-rw-r--r--drivers/mmc/bfin_sdh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/bfin_sdh.c b/drivers/mmc/bfin_sdh.c
index 7b35d8e7d9..bcd6a3e52f 100644
--- a/drivers/mmc/bfin_sdh.c
+++ b/drivers/mmc/bfin_sdh.c
@@ -238,7 +238,7 @@ static void bfin_sdh_set_ios(struct mmc *mmc)
u16 cfg = 0;
u16 clk_ctl = 0;
- if (mmc_bus_width(mmc) == 4) {
+ if (mmc->bus_width == 4) {
cfg = bfin_read_SDH_CFG();
#ifndef RSI_BLKSZ
cfg &= ~PD_SDDAT3;