]> git.itanic.dy.fi Git - linux-stable/commitdiff
mmc: sdhci_am654: 'select', not 'depends' REGMAP_MMIO
authorBrian Norris <briannorris@chromium.org>
Mon, 24 Oct 2022 18:02:59 +0000 (11:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Nov 2022 14:57:50 +0000 (23:57 +0900)
commit 8d280b1df87e0b3d1355aeac7e62b62214b93f1c upstream.

REGMAP_MMIO is not user-configurable, so we can only satisfy this
dependency by enabling some other Kconfig symbol that properly 'select's
it. Use select like everybody else.

Noticed when trying to enable this driver for compile testing.

Fixes: 59592cc1f593 ("mmc: sdhci_am654: Add dependency on MMC_SDHCI_AM654")
Signed-off-by: Brian Norris <briannorris@chromium.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20221024180300.2292208-1-briannorris@chromium.org
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/host/Kconfig

index 30ff42fd173e2391748c8b9b7fb33580400509fd..82e1fbd6b2ff053c9c5bfef661bcd1746066ab25 100644 (file)
@@ -1079,9 +1079,10 @@ config MMC_SDHCI_OMAP
 
 config MMC_SDHCI_AM654
        tristate "Support for the SDHCI Controller in TI's AM654 SOCs"
-       depends on MMC_SDHCI_PLTFM && OF && REGMAP_MMIO
+       depends on MMC_SDHCI_PLTFM && OF
        select MMC_SDHCI_IO_ACCESSORS
        select MMC_CQHCI
+       select REGMAP_MMIO
        help
          This selects the Secure Digital Host Controller Interface (SDHCI)
          support present in TI's AM654 SOCs. The controller supports