pxa_pcmcia: Move compile condition to the Makefile

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
Jean-Christophe PLAGNIOL-VILLARD 2008-05-18 19:09:51 +02:00 committed by Wolfgang Denk
parent c9eff32881
commit 72d5d5f7b5
2 changed files with 1 additions and 5 deletions

View File

@ -27,7 +27,7 @@ LIB := $(obj)libpcmcia.a
COBJS-$(CONFIG_I82365) += i82365.o
COBJS-y += mpc8xx_pcmcia.o
COBJS-y += pxa_pcmcia.o
COBJS-$(CONFIG_PXA_PCMCIA) += pxa_pcmcia.o
COBJS-y += rpx_pcmcia.o
COBJS-y += ti_pci1410a.o
COBJS-y += tqm8xx_pcmcia.o

View File

@ -1,8 +1,6 @@
#include <common.h>
#include <config.h>
#ifdef CONFIG_PXA_PCMCIA
#include <pcmcia.h>
#include <asm/arch/pxa-regs.h>
#include <asm/io.h>
@ -93,5 +91,3 @@ int pcmcia_off (void)
return 0;
}
#endif
#endif /* CONFIG_PXA_PCMCIA */