From: Vlad Lungu Date: Wed, 23 Jan 2008 14:34:46 +0000 (+0200) Subject: Use #ifdef CONFIG_FSLDMAFEC X-Git-Tag: v2008.10-rc1~731 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd24058407c5add45cc60aec6c757ddc1a17e1b0;p=platform%2Fkernel%2Fu-boot.git 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 694e780..06a2d53 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 */