]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/mmc.h
blackfin: mmc: Correct mmc_host_is_spi and bfin_sdh.c
[karo-tx-uboot.git] / include / mmc.h
index 0172979f1154c96ba3769a65f529a0df92e7807c..8a8297437bbb51261fe641ebfc7c58f9df4ae206 100644 (file)
@@ -360,7 +360,7 @@ void mmc_set_preinit(struct mmc *mmc, int preinit);
 
 #ifdef CONFIG_GENERIC_MMC
 #ifdef CONFIG_MMC_SPI
-#define mmc_host_is_spi(mmc)   ((mmc)->cfg.host_caps & MMC_MODE_SPI)
+#define mmc_host_is_spi(mmc)   ((mmc)->cfg->host_caps & MMC_MODE_SPI)
 #else
 #define mmc_host_is_spi(mmc)   0
 #endif