This prevents those without an Atmel chip having a line in kernel configuration
which says "Atmel SD/MMC Driver" without any option.

Signed-off-by: Jonathan Cameron <[email protected]>
Signed-off-by: Nicolas Ferre <[email protected]>
---
 drivers/mmc/host/Kconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig
index ce1d288..c268062 100644
--- a/drivers/mmc/host/Kconfig
+++ b/drivers/mmc/host/Kconfig
@@ -193,6 +193,7 @@ config MMC_AU1X
 
 choice
        prompt "Atmel SD/MMC Driver"
+       depends on AVR32 || ARCH_AT91
        default MMC_ATMELMCI if AVR32
        help
          Choose which driver to use for the Atmel MCI Silicon
-- 
1.5.6.5

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

Reply via email to