env: mmc/fat/ext4: undefined reference to `mmc_initialize'
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 14 Apr 2018 13:41:00 +0000 (15:41 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 16 Apr 2018 22:45:35 +0000 (18:45 -0400)
commit95058fbb97b8846e5fa569d5083a76567f2b9d81
treecf320d036c0e085e09b3919e29ca61dceb7cae20
parent7bcdf19572c8f64552233d04b309903b297d5b63
env: mmc/fat/ext4: undefined reference to `mmc_initialize'

For CONFIG_ENV_FAT_INTERFACE != 'mmc' a link error
env/fat.c:93: undefined reference to `mmc_initialize'
occurs if CONFIG_MMC_SUPPORT is not enabled.

Fixes: 26862b4a40c3 ("env: mmc/fat/ext4: make sure that the MMC sub-system
is initialized before using it")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
env/ext4.c
env/fat.c