diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-01-17 17:43:20 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-02-21 09:27:18 -0500 |
commit | 11990b2b28dc6785c53c95b2a8f1d8605602a233 (patch) | |
tree | 94a6987d3a07a288ab527f7c151c9e9c95226c16 | |
parent | 136b758bbb12348db08aca7d7dd96a12db4b23f0 (diff) |
PCMCIA: make lubbock socket driver part of sa1111_cs
Lubbock is just another SA1111 socket driver, so now that Kconfig has
better control of which files get built, we can sanitize the build
for this.
Acked-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r-- | drivers/pcmcia/Kconfig | 5 | ||||
-rw-r--r-- | drivers/pcmcia/Makefile | 3 |
2 files changed, 4 insertions, 4 deletions
diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig index b7f3d2933fa0..bba3ab2066ee 100644 --- a/drivers/pcmcia/Kconfig +++ b/drivers/pcmcia/Kconfig | |||
@@ -200,9 +200,9 @@ config PCMCIA_SA1100 | |||
200 | 200 | ||
201 | config PCMCIA_SA1111 | 201 | config PCMCIA_SA1111 |
202 | tristate "SA1111 support" | 202 | tristate "SA1111 support" |
203 | depends on ARM && ARCH_SA1100 && SA1111 && PCMCIA | 203 | depends on ARM && SA1111 && PCMCIA |
204 | select PCMCIA_SOC_COMMON | 204 | select PCMCIA_SOC_COMMON |
205 | select PCMCIA_SA11XX_BASE | 205 | select PCMCIA_SA11XX_BASE if ARCH_SA1100 |
206 | help | 206 | help |
207 | 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 |
208 | sockets, found on the Jornada 720, Graphicsmaster and other | 208 | sockets, found on the Jornada 720, Graphicsmaster and other |
@@ -218,6 +218,7 @@ config PCMCIA_PXA2XX | |||
218 | || ARCOM_PCMCIA || ARCH_PXA_ESERIES || MACH_STARGATE2 \ | 218 | || ARCOM_PCMCIA || ARCH_PXA_ESERIES || MACH_STARGATE2 \ |
219 | || MACH_VPAC270 || MACH_BALLOON3 || MACH_COLIBRI \ | 219 | || MACH_VPAC270 || MACH_BALLOON3 || MACH_COLIBRI \ |
220 | || MACH_COLIBRI320) | 220 | || MACH_COLIBRI320) |
221 | select PCMCIA_SA1111 if ARCH_LUBBOCK && SA1111 | ||
221 | select PCMCIA_SOC_COMMON | 222 | select PCMCIA_SOC_COMMON |
222 | help | 223 | help |
223 | Say Y here to include support for the PXA2xx PCMCIA controller | 224 | Say Y here to include support for the PXA2xx PCMCIA controller |
diff --git a/drivers/pcmcia/Makefile b/drivers/pcmcia/Makefile index 05136dd9c98e..49d79f707cfc 100644 --- a/drivers/pcmcia/Makefile +++ b/drivers/pcmcia/Makefile | |||
@@ -43,6 +43,7 @@ sa1111_cs-y += sa1111_generic.o | |||
43 | sa1111_cs-$(CONFIG_ASSABET_NEPONSET) += sa1100_neponset.o | 43 | sa1111_cs-$(CONFIG_ASSABET_NEPONSET) += sa1100_neponset.o |
44 | sa1111_cs-$(CONFIG_SA1100_BADGE4) += sa1100_badge4.o | 44 | sa1111_cs-$(CONFIG_SA1100_BADGE4) += sa1100_badge4.o |
45 | sa1111_cs-$(CONFIG_SA1100_JORNADA720) += sa1100_jornada720.o | 45 | sa1111_cs-$(CONFIG_SA1100_JORNADA720) += sa1100_jornada720.o |
46 | sa1111_cs-$(CONFIG_ARCH_LUBBOCK) += pxa2xx_lubbock.o | ||
46 | 47 | ||
47 | sa1100_cs-y += sa1100_generic.o | 48 | sa1100_cs-y += sa1100_generic.o |
48 | sa1100_cs-$(CONFIG_SA1100_ASSABET) += sa1100_assabet.o | 49 | sa1100_cs-$(CONFIG_SA1100_ASSABET) += sa1100_assabet.o |
@@ -53,9 +54,7 @@ sa1100_cs-$(CONFIG_SA1100_NANOENGINE) += sa1100_nanoengine.o | |||
53 | sa1100_cs-$(CONFIG_SA1100_SHANNON) += sa1100_shannon.o | 54 | sa1100_cs-$(CONFIG_SA1100_SHANNON) += sa1100_shannon.o |
54 | sa1100_cs-$(CONFIG_SA1100_SIMPAD) += sa1100_simpad.o | 55 | sa1100_cs-$(CONFIG_SA1100_SIMPAD) += sa1100_simpad.o |
55 | 56 | ||
56 | pxa2xx_lubbock_cs-y += pxa2xx_lubbock.o sa1111_generic.o | ||
57 | pxa2xx_cm_x2xx_cs-y += pxa2xx_cm_x2xx.o pxa2xx_cm_x255.o pxa2xx_cm_x270.o | 57 | pxa2xx_cm_x2xx_cs-y += pxa2xx_cm_x2xx.o pxa2xx_cm_x255.o pxa2xx_cm_x270.o |
58 | pxa2xx-obj-$(CONFIG_ARCH_LUBBOCK) += pxa2xx_lubbock_cs.o | ||
59 | pxa2xx-obj-$(CONFIG_MACH_MAINSTONE) += pxa2xx_mainstone.o | 58 | pxa2xx-obj-$(CONFIG_MACH_MAINSTONE) += pxa2xx_mainstone.o |
60 | pxa2xx-obj-$(CONFIG_PXA_SHARPSL) += pxa2xx_sharpsl.o | 59 | pxa2xx-obj-$(CONFIG_PXA_SHARPSL) += pxa2xx_sharpsl.o |
61 | pxa2xx-obj-$(CONFIG_MACH_ARMCORE) += pxa2xx_cm_x2xx_cs.o | 60 | pxa2xx-obj-$(CONFIG_MACH_ARMCORE) += pxa2xx_cm_x2xx_cs.o |