mmc: mtk-sd: select REGULATOR
authorNeilBrown <neil@brown.name>
Sat, 4 May 2019 10:24:57 +0000 (20:24 +1000)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 6 May 2019 10:33:03 +0000 (12:33 +0200)
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>
drivers/mmc/host/Kconfig

index 9c01310..1249cde 100644 (file)
@@ -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.