]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: mmc_mode_name() is used also when LOGLEVEL >= LOGL_DEBUG
authorPali Rohár <pali@kernel.org>
Sat, 2 Apr 2022 22:20:10 +0000 (00:20 +0200)
committerPriyanka Jain <priyanka.jain@nxp.com>
Tue, 26 Apr 2022 11:48:39 +0000 (17:18 +0530)
commit48467e47698a27a2a32961bf8bdf19b0e236704c
tree9fc17a5f428e05ae0a92ba634240f91beed15a17
parent57d527e753bb5efe89fceea341e7d327bf58e312
mmc: mmc_mode_name() is used also when LOGLEVEL >= LOGL_DEBUG

When CONFIG_LOGLEVEL is set to LOGL_DEBUG or higher then linker throws
error about undefined symbol mmc_mode_name(). So compile mmc_mode_name()
also when CONFIG_LOGLEVEL is set to LOGL_DEBUG or higher.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/mmc/mmc.c