summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2024-10-30 11:06:55 +0100
committerUlf Hansson <ulf.hansson@linaro.org>2024-10-30 12:06:25 +0100
commit8a98e86a5a2cc220e65993b840a98819bc2e62bc (patch)
treeb098225874ed05e44b2d5af0258b904dae449bac
parent54ef4b393e0396a0c82bebb733e09c184c7ac943 (diff)
downloadlwn-8a98e86a5a2cc220e65993b840a98819bc2e62bc.tar.gz
lwn-8a98e86a5a2cc220e65993b840a98819bc2e62bc.zip
mmc: sdhci: Make MMC_SDHCI_UHS2 config symbol invisible
There is no need to ask the user about enabling UHS-II support, as all drivers that support UHS2-capable devices already select MMC_SDHCI_UHS2. Hence make the symbol invisible, unless when compile-testing. Fixes: 2af7dd8b64f2fd6a ("mmc: sdhci: add UHS-II module and add a kernel configuration") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Message-ID: <079f2b7473d34895843ad278d79930c681385b2e.1730282633.git.geert+renesas@glider.be> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
-rw-r--r--drivers/mmc/host/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index fec470225584..6824131b69b1 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -99,7 +99,7 @@ config MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER
This is the case for the Nintendo Wii SDHCI.
config MMC_SDHCI_UHS2
- tristate "UHS2 support on SDHCI controller"
+ tristate "UHS2 support on SDHCI controller" if COMPILE_TEST
depends on MMC_SDHCI
help
This option is selected by SDHCI controller drivers that want to