]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
Use #ifdef CONFIG_FSLDMAFEC
authorVlad Lungu <vlad@comsys.ro>
Wed, 23 Jan 2008 14:34:46 +0000 (16:34 +0200)
committerWolfgang Denk <wd@denx.de>
Thu, 14 Feb 2008 21:13:28 +0000 (22:13 +0100)
MCD_tasks.c lacks [subject] so compilation of mips targets (and more, probably)
fails

Signed-off-by: Vlad Lungu <vlad@comsys.ro>
drivers/dma/MCD_tasks.c

index 694e780fe29f9c734a8e1d9df4b2c8618482ef7a..06a2d532648b2aced52581edf9788ea0073d1d99 100644 (file)
 
 /* 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 */