MMC: Avoid useless selection of MMC_RICOH_MMC quirk
PATCH 1/1 MMC: Avoid useless selection of MMC_RICOH_MMC quirk
Ensure correct functionality of MMC_RICOH_MMC pci quirk.
MMC_RICOH_MMC is a pci quirk (realized in /drivers/pci/quirks.c lines 2877
- 2959), which in turn depend on PCI_QUIRKS. However, MMC_RICOH_MMC can be selected even if pci quirks (PCI_QUIRKS) are globally disabled. This patch adds the missing dependency to MMC_RICOH_MMC to ensure that it can only be selected if pci quirks are active.
Signed-off-by Sascha El-Sharkawy<[email protected]>
--- drivers/mmc/host/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/Kconfig +1 -1
@@ -91,7 +91,7 @@ config MMC_SDHCI_PCI config MMC_RICOH_MMC bool "Ricoh MMC Controller Disabler" - depends on MMC_SDHCI_PCI + depends on MMC_SDHCI_PCI && PCI_QUIRKS default y help This adds a pci quirk to disable Ricoh MMC Controller. This