pcmcia: at91_cf: depend on !ARCH_MULTIPLATFORM
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Tue, 13 Jan 2015 18:28:05 +0000 (19:28 +0100)
committerOlof Johansson <olof@lixom.net>
Thu, 29 Jan 2015 18:58:09 +0000 (10:58 -0800)
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>
drivers/pcmcia/Kconfig

index 910e90b..45f67c6 100644 (file)
@@ -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".