aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/Kconfig
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-01-17 17:36:45 -0500
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-02-21 09:27:14 -0500
commit136b758bbb12348db08aca7d7dd96a12db4b23f0 (patch)
tree57185d3af20cd892bebee4dd9e69ea3a819bc4ec /drivers/pcmcia/Kconfig
parente2adbecfcb08ae68e05d9a076b5d398cee939664 (diff)
PCMCIA: add Kconfig control for building sa11xx_base.c
sa11xx_base.c is currently built when either PCMCIA_SA1100 or PCMCIA_SA1111 are selected. Let's move the logic into Kconfig. Acked-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/pcmcia/Kconfig')
-rw-r--r--drivers/pcmcia/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig
index f9e3fb3a285b..b7f3d2933fa0 100644
--- a/drivers/pcmcia/Kconfig
+++ b/drivers/pcmcia/Kconfig
@@ -183,10 +183,14 @@ config PCMCIA_BCM63XX
183config PCMCIA_SOC_COMMON 183config PCMCIA_SOC_COMMON
184 tristate 184 tristate
185 185
186config PCMCIA_SA11XX_BASE
187 tristate
188
186config PCMCIA_SA1100 189config PCMCIA_SA1100
187 tristate "SA1100 support" 190 tristate "SA1100 support"
188 depends on ARM && ARCH_SA1100 && PCMCIA 191 depends on ARM && ARCH_SA1100 && PCMCIA
189 select PCMCIA_SOC_COMMON 192 select PCMCIA_SOC_COMMON
193 select PCMCIA_SA11XX_BASE
190 help 194 help
191 Say Y here to include support for SA11x0-based PCMCIA or CF 195 Say Y here to include support for SA11x0-based PCMCIA or CF
192 sockets, found on HP iPAQs, Yopy, and other StrongARM(R)/ 196 sockets, found on HP iPAQs, Yopy, and other StrongARM(R)/
@@ -198,6 +202,7 @@ config PCMCIA_SA1111
198 tristate "SA1111 support" 202 tristate "SA1111 support"
199 depends on ARM && ARCH_SA1100 && SA1111 && PCMCIA 203 depends on ARM && ARCH_SA1100 && SA1111 && PCMCIA
200 select PCMCIA_SOC_COMMON 204 select PCMCIA_SOC_COMMON
205 select PCMCIA_SA11XX_BASE
201 help 206 help
202 Say Y here to include support for SA1111-based PCMCIA or CF 207 Say Y here to include support for SA1111-based PCMCIA or CF
203 sockets, found on the Jornada 720, Graphicsmaster and other 208 sockets, found on the Jornada 720, Graphicsmaster and other