mmc: sdhci_am654: 'select', not 'depends' REGMAP_MMIO
authorBrian Norris <briannorris@chromium.org>
Mon, 24 Oct 2022 18:02:59 +0000 (11:02 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 26 Oct 2022 09:48:03 +0000 (11:48 +0200)
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>
drivers/mmc/host/Kconfig

index f324daadaf7019c2182fdff7f989f18d9fe124eb..fb1062a6394c17e6f20e35eadb169344d77a568f 100644 (file)
@@ -1075,9 +1075,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