From: Vlad Lungu Date: Wed, 23 Jan 2008 14:34:46 +0000 (+0200) Subject: Use #ifdef CONFIG_FSLDMAFEC X-Git-Tag: v1.3.2-rc1~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dd24058407c5add45cc60aec6c757ddc1a17e1b0;p=u-boot Use #ifdef CONFIG_FSLDMAFEC MCD_tasks.c lacks [subject] so compilation of mips targets (and more, probably) fails Signed-off-by: Vlad Lungu --- diff --git a/drivers/dma/MCD_tasks.c b/drivers/dma/MCD_tasks.c index 694e780fe2..06a2d53264 100644 --- a/drivers/dma/MCD_tasks.c +++ b/drivers/dma/MCD_tasks.c @@ -22,6 +22,10 @@ /* Contains task code and structures for Multi-channel DMA */ +#include + +#ifdef CONFIG_FSLDMAFEC + #include u32 MCD_varTab0[]; @@ -2426,3 +2430,5 @@ u32 MCD_ENetXmit_TDT[] = { #ifdef MCD_INCLUDE_EU MCD_bufDesc MCD_singleBufDescs[NCHANNELS]; #endif + +#endif /* CONFIG_FSLDMAFEC */