pcmcia: at91_cf: Use syscon to configure the MC/smc
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 16 Mar 2015 13:17:50 +0000 (14:17 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 20 May 2015 14:37:38 +0000 (16:37 +0200)
Use syscon/regmap to configure the smc part of the memory controller. This
allows to avoid using mach/at91rm9200_mc.h and mach/at91_ramc.h and to compile
the driver in a multiplatform configuration.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/pcmcia/Kconfig
drivers/pcmcia/at91_cf.c

index a65f821..d3c378b 100644 (file)
@@ -277,7 +277,6 @@ config AT91_CF
        tristate "AT91 CompactFlash Controller"
        depends on PCI
        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".
Simple merge