aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlad Lungu <vlad@comsys.ro>2008-01-23 16:34:46 +0200
committerWolfgang Denk <wd@denx.de>2008-02-14 22:13:28 +0100
commitdd24058407c5add45cc60aec6c757ddc1a17e1b0 (patch)
tree5a1b3094583b4d86173210d422416bbb4d9f0136
parent26c7bab81e08dc7bd696c48f753428a829629bd8 (diff)
downloadu-boot-dd24058407c5add45cc60aec6c757ddc1a17e1b0.zip
u-boot-dd24058407c5add45cc60aec6c757ddc1a17e1b0.tar.gz
u-boot-dd24058407c5add45cc60aec6c757ddc1a17e1b0.tar.bz2
Use #ifdef CONFIG_FSLDMAFEC
MCD_tasks.c lacks [subject] so compilation of mips targets (and more, probably) fails Signed-off-by: Vlad Lungu <vlad@comsys.ro>
-rw-r--r--drivers/dma/MCD_tasks.c6
1 files changed, 6 insertions, 0 deletions
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 <common.h>
+
+#ifdef CONFIG_FSLDMAFEC
+
#include <MCD_dma.h>
u32 MCD_varTab0[];
@@ -2426,3 +2430,5 @@ u32 MCD_ENetXmit_TDT[] = {
#ifdef MCD_INCLUDE_EU
MCD_bufDesc MCD_singleBufDescs[NCHANNELS];
#endif
+
+#endif /* CONFIG_FSLDMAFEC */