mmc: cv1800b: Fix build without MMC_SUPPORTS_TUNING
authorAlexander Sverdlin <alexander.sverdlin@gmail.com>
Sun, 27 Apr 2025 21:46:19 +0000 (23:46 +0200)
committerPeng Fan <peng.fan@nxp.com>
Tue, 20 May 2025 15:11:52 +0000 (23:11 +0800)
commit72ba30aeccfc225152c19991732228f95b050ca4
tree80cc0238cd8a30645e4e764d375107091399d48a
parenteeb5ff1a468b2303efa9deb2483b5edbebb568c6
mmc: cv1800b: Fix build without MMC_SUPPORTS_TUNING

That's how it looks like without CONFIG_MMC_SUPPORTS_TUNING before the
patch:

aarch64-buildroot-linux-gnu-ld.bfd: drivers/mmc/cv1800b_sdhci.o: in function `cv1800b_execute_tuning':
drivers/mmc/cv1800b_sdhci.c:47:(.text.cv1800b_execute_tuning+0x50): undefined reference to `mmc_send_tuning'

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@gmail.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/mmc/cv1800b_sdhci.c