From: Russell King Date: Sat, 19 Apr 2008 15:46:54 +0000 (+0100) Subject: [ARM] pxa: restrict availability of pxa2xx PCMCIA drivers X-Git-Tag: v2.6.26-rc1~1131^2~2^10~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0e623941bec7e80c97b076d346327b31ae17d84a;p=linux-2.6-omap-h63xx.git [ARM] pxa: restrict availability of pxa2xx PCMCIA drivers Not all PXA2xx platforms provide the necessary support files for PCMCIA to work, let alone build. Stop the build errors by making PXA2xx PCMCIA support only available on those platforms which have supplied the support files. Signed-off-by: Russell King --- diff --git a/drivers/pcmcia/Kconfig b/drivers/pcmcia/Kconfig index 8b22281b087..ed8c0690480 100644 --- a/drivers/pcmcia/Kconfig +++ b/drivers/pcmcia/Kconfig @@ -200,6 +200,7 @@ config PCMCIA_AU1X00 config PCMCIA_SA1100 tristate "SA1100 support" depends on ARM && ARCH_SA1100 && PCMCIA + depends on ARCH_LUBBOCK || MACH_MAINSTONE || PXA_SHARPSL || MACH_ARMCORE help Say Y here to include support for SA11x0-based PCMCIA or CF sockets, found on HP iPAQs, Yopy, and other StrongARM(R)/