summaryrefslogtreecommitdiff
path: root/configs/mgcoge_defconfig
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2016-08-12 11:39:05 +0900
committerJaehoon Chung <jh80.chung@samsung.com>2016-08-16 10:27:24 +0900
commit177381a9f9e956353deaa56d86bec47e02995ff3 (patch)
tree08e8741c9f71591a9c1836ebb4c43fc6fb9df574 /configs/mgcoge_defconfig
parentd188b1130226d304fb3cd2c901b968eca927f39f (diff)
downloadu-boot-imx-177381a9f9e956353deaa56d86bec47e02995ff3.zip
u-boot-imx-177381a9f9e956353deaa56d86bec47e02995ff3.tar.gz
u-boot-imx-177381a9f9e956353deaa56d86bec47e02995ff3.tar.bz2
mmc: mmc_legacy: fix the compiler error with disabled CONFIG_DM_MMC_OPS
To prevent the compiler error, split the checking condition whether cfg->ops is NULL or not. It's more clearly, because it's not included in mmc_config structure when CONFIG_DM_MMC_OPS is disabled. drivers/mmc/mmc_legacy.c: In function ‘mmc_create’: drivers/mmc/mmc_legacy.c:118:31: error: ‘const struct mmc_config’ has no member named ‘ops’ drivers/mmc/mmc_legacy.c:118:58: error: ‘const struct mmc_config’ has no member named ‘ops’ make[1]: *** [drivers/mmc/mmc_legacy.o] Error 1 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/mgcoge_defconfig')
0 files changed, 0 insertions, 0 deletions