[Patch] MULTIMEDIA CARD (MMC): Avoid useless selection of MMC_RICOH_MMC quirk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <elscha@xxxxxxxxxxxxxxxxxxxxx>
---
 drivers/mmc/host/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index 8c15637..81143fb 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -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
��.n��������+%������w��{.n�����{��i��)��jg��������ݢj����G�������j:+v���w�m������w�������h�����٥




[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux