Fix the following build warning:

warning: (MMC_TIFM_SD && MEMSTICK_TIFM_MS) selects TIFM_CORE which has unmet 
direct dependencies (MISC_DEVICES && EXPERIMENTAL && PCI)

Signed-off-by: Fabio Estevam <fabio.este...@freescale.com>
---
 drivers/memstick/host/Kconfig |    2 +-
 drivers/mmc/host/Kconfig      |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/memstick/host/Kconfig b/drivers/memstick/host/Kconfig
index cc0997a..9f78c13 100644
--- a/drivers/memstick/host/Kconfig
+++ b/drivers/memstick/host/Kconfig
@@ -6,7 +6,7 @@ comment "MemoryStick Host Controller Drivers"
 
 config MEMSTICK_TIFM_MS
        tristate "TI Flash Media MemoryStick Interface support  (EXPERIMENTAL)"
-       depends on EXPERIMENTAL && PCI
+       depends on EXPERIMENTAL && PCI && MISC_DEVICES
        select TIFM_CORE
        help
          Say Y here if you want to be able to access MemoryStick cards with
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index cf444b0..248352f 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -346,7 +346,7 @@ config MMC_MXS
 
 config MMC_TIFM_SD
        tristate "TI Flash Media MMC/SD Interface support  (EXPERIMENTAL)"
-       depends on EXPERIMENTAL && PCI
+       depends on EXPERIMENTAL && PCI && MISC_DEVICES
        select TIFM_CORE
        help
          Say Y here if you want to be able to access MMC/SD cards with
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to