summaryrefslogtreecommitdiff
path: root/drivers/mmc/host
diff options
context:
space:
mode:
authorNeilBrown <neil@brown.name>2019-05-04 13:24:57 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2019-05-06 13:33:03 +0300
commit26c2b19e9daf8e68a9703dfec3bd6fed7330c158 (patch)
tree676b5981bfc89a275f4ae9affceeaf6f7641b5f5 /drivers/mmc/host
parentd087bde516053bd8dab4f79665586200b6a98c77 (diff)
downloadlinux-26c2b19e9daf8e68a9703dfec3bd6fed7330c158.tar.xz
mmc: mtk-sd: select REGULATOR
The mtk-sd driver requires a regulator to be present, even if it is the "fixed" regulator. So select REGULATOR to make it hard to build unusable configurations. Signed-off-by: NeilBrown <neil@brown.name> Reviewed-by: Chaotian Jing <chaotian.jing@mediatek.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r--drivers/mmc/host/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 9c01310a0d2e..1249cde7004d 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -941,6 +941,7 @@ config MMC_BCM2835
config MMC_MTK
tristate "MediaTek SD/MMC Card Interface support"
depends on HAS_DMA
+ select REGULATOR
help
This selects the MediaTek(R) Secure digital and Multimedia card Interface.
If you have a machine with a integrated SD/MMC card reader, say Y or M here.