From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 18 May 2008 17:09:51 +0000 (+0200) Subject: pxa_pcmcia: Move compile condition to the Makefile X-Git-Tag: v2008.10-rc1~259^2~39 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=72d5d5f7b5c74a188df238ec6dd824d80c74857a;p=platform%2Fkernel%2Fu-boot.git pxa_pcmcia: Move compile condition to the Makefile Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- diff --git a/drivers/pcmcia/Makefile b/drivers/pcmcia/Makefile index b09b901..8eb4982 100644 --- a/drivers/pcmcia/Makefile +++ b/drivers/pcmcia/Makefile @@ -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 diff --git a/drivers/pcmcia/pxa_pcmcia.c b/drivers/pcmcia/pxa_pcmcia.c index 65427ef..11d8590 100644 --- a/drivers/pcmcia/pxa_pcmcia.c +++ b/drivers/pcmcia/pxa_pcmcia.c @@ -1,8 +1,6 @@ #include #include -#ifdef CONFIG_PXA_PCMCIA - #include #include #include @@ -93,5 +91,3 @@ int pcmcia_off (void) return 0; } #endif - -#endif /* CONFIG_PXA_PCMCIA */