From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 18 May 2008 17:09:52 +0000 (+0200) Subject: pcmcia/ti_pci1410a: Move compile condition to the Makefile X-Git-Tag: v1.3.4-rc1~90^2~38 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dfd3be881c03a26e31f0dea4a42e76061fa610ac;p=u-boot pcmcia/ti_pci1410a: Move compile condition to the Makefile Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- diff --git a/drivers/pcmcia/Makefile b/drivers/pcmcia/Makefile index 8eb4982dfb..ba251d0984 100644 --- a/drivers/pcmcia/Makefile +++ b/drivers/pcmcia/Makefile @@ -29,7 +29,7 @@ COBJS-$(CONFIG_I82365) += i82365.o COBJS-y += mpc8xx_pcmcia.o COBJS-$(CONFIG_PXA_PCMCIA) += pxa_pcmcia.o COBJS-y += rpx_pcmcia.o -COBJS-y += ti_pci1410a.o +COBJS-$(CONFIG_IDE_TI_CARDBUS) += ti_pci1410a.o COBJS-y += tqm8xx_pcmcia.o COBJS-$(CONFIG_MARUBUN_PCCARD) += marubun_pcmcia.o diff --git a/drivers/pcmcia/ti_pci1410a.c b/drivers/pcmcia/ti_pci1410a.c index 208ca50a74..c876d0c402 100644 --- a/drivers/pcmcia/ti_pci1410a.c +++ b/drivers/pcmcia/ti_pci1410a.c @@ -64,7 +64,7 @@ #include -#if defined(CONFIG_CMD_PCMCIA) && defined(CONFIG_IDE_TI_CARDBUS) +#if defined(CONFIG_CMD_PCMCIA) int pcmcia_on(int ide_base_bus); @@ -662,4 +662,4 @@ static int identify(volatile uchar *p) return 0; /* don't know */ } -#endif /* CONFIG_IDE_TI_CARDBUS */ +#endif /* CONFIG_CMD_PCMCIA */