Commit 0b2da7e209f4110b7c81d578336a10330e4a4404
1 parent
423ec7fed2
Exists in
v2017.01-smarct4x
and in
48 other branches
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>
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
drivers/mmc/bfin_sdh.c
include/mmc.h
... | ... | @@ -360,7 +360,7 @@ |
360 | 360 | |
361 | 361 | #ifdef CONFIG_GENERIC_MMC |
362 | 362 | #ifdef CONFIG_MMC_SPI |
363 | -#define mmc_host_is_spi(mmc) ((mmc)->cfg.host_caps & MMC_MODE_SPI) | |
363 | +#define mmc_host_is_spi(mmc) ((mmc)->cfg->host_caps & MMC_MODE_SPI) | |
364 | 364 | #else |
365 | 365 | #define mmc_host_is_spi(mmc) 0 |
366 | 366 | #endif |