From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Date: Tue, 13 Jan 2015 18:28:05 +0000 (+0100)
Subject: pcmcia: at91_cf: depend on !ARCH_MULTIPLATFORM
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=98d67219da3c23c1e5c27986edcce356b68761f2;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

pcmcia: at91_cf: depend on !ARCH_MULTIPLATFORM

Until the driver is corrected to stop including mach/at91_ramc.h and using
mach/io.h, it won't compile in a ARCH_MULTIPLATFORM configuration.

Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
---

diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig
index 910e90bf16c6..45f67c63d385 100644
--- a/drivers/pcmcia/Kconfig
+++ b/drivers/pcmcia/Kconfig
@@ -276,6 +276,7 @@ config BFIN_CFPCMCIA
 config AT91_CF
 	tristate "AT91 CompactFlash Controller"
 	depends on PCMCIA && ARCH_AT91
+	depends on !ARCH_MULTIPLATFORM
 	help
 	  Say Y here to support the CompactFlash controller on AT91 chips.
 	  Or choose M to compile the driver as a module named "at91_cf".