]> git.baikalelectronics.ru Git - uboot.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)
commitc21cea57d4f1c05fb3a4ee195f0ab28c64c585c9
tree9fc17a5f428e05ae0a92ba634240f91beed15a17
parent923cd919cc3be4f5212956baf6ab8ebc03742d2f
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