mmc: pci: Fix Kconfig dependency
authorBin Meng <bmeng.cn@gmail.com>
Mon, 15 Feb 2021 12:01:44 +0000 (20:01 +0800)
committerSimon Glass <sjg@chromium.org>
Mon, 22 Mar 2021 06:23:26 +0000 (19:23 +1300)
The PCI MMC driver depends on the generic MMC SDHCI driver,
otherwise it does not compile.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/Kconfig

index f8ca52e..c34fce3 100644 (file)
@@ -311,6 +311,7 @@ config MMC_MXS
 
 config MMC_PCI
        bool "Support for MMC controllers on PCI"
+       depends on MMC_SDHCI
        help
          This selects PCI-based MMC controllers.
          If you have an MMC controller on a PCI bus, say Y here.