summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorBrian Norris <briannorris@chromium.org>2022-10-24 11:02:59 -0700
committerUlf Hansson <ulf.hansson@linaro.org>2022-10-26 11:48:03 +0200
commit8d280b1df87e0b3d1355aeac7e62b62214b93f1c (patch)
treefaa5b776e10b2ce833cd0bd254022bba6df81461 /drivers/mmc
parent028822b714bd3a159d65416c53f1549345b53d9e (diff)
downloadlinux-stable-8d280b1df87e0b3d1355aeac7e62b62214b93f1c.tar.gz
linux-stable-8d280b1df87e0b3d1355aeac7e62b62214b93f1c.tar.bz2
linux-stable-8d280b1df87e0b3d1355aeac7e62b62214b93f1c.zip
mmc: sdhci_am654: 'select', not 'depends' REGMAP_MMIO
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index f324daadaf70..fb1062a6394c 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -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