drivers/mmc/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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>
---
drivers/mmc/host/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index fec47022558443fe..6824131b69b188ca 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
--
2.34.1
On Wed, 30 Oct 2024 at 11:07, Geert Uytterhoeven
<geert+renesas@glider.be> wrote:
>
> 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>
Applied for next, thanks!
Kind regards
Uffe
> ---
> drivers/mmc/host/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
> index fec47022558443fe..6824131b69b188ca 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
> --
> 2.34.1
>
© 2016 - 2026 Red Hat, Inc.