浏览代码

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>
Vlad Lungu 17 年之前
父节点
当前提交
dd24058407
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      drivers/dma/MCD_tasks.c

+ 6 - 0
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 */