From dd24058407c5add45cc60aec6c757ddc1a17e1b0 Mon Sep 17 00:00:00 2001 From: Vlad Lungu Date: Wed, 23 Jan 2008 16:34:46 +0200 Subject: [PATCH] Use #ifdef CONFIG_FSLDMAFEC MCD_tasks.c lacks [subject] so compilation of mips targets (and more, probably) fails Signed-off-by: Vlad Lungu --- drivers/dma/MCD_tasks.c | 6 ++++++ 1 file changed, 6 insertions(+) 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 */ -- 2.39.5