Skip to contentSkip to conversation

Use #ifdef CONFIG_FSLDMAFEC

PATCH New Vlad Lungu 3 participants 3 messages Jan 23, 2008 – Feb 14, 2008 dmaengine

lore
Share & tools
lore

Vlad Lungu

author
#0 lore raw

PATCH 1/1 Use #ifdef CONFIG_FSLDMAFEC

MCD_tasks.c lacks [subject] so compilation of mips targets (and more, probably) fails

---
 drivers/dma/MCD_tasks.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
drivers/dma/MCD_tasks.c +6 -0
index 694e780..06a2d53 100644
@@ -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 */
Signature · 1 line
1.5.2.2
#1 lore raw

PATCH 1/1 Use #ifdef CONFIG_FSLDMAFEC

Vlad,

Thanks. I will apply the patch.

Regards,
TsiChung

#2 lore raw

PATCH 1/1 Use #ifdef CONFIG_FSLDMAFEC

In reply to Vlad Lungu
Quoted 7 lines · In message <[email protected]> you wrote:

MCD_tasks.c lacks [subject] so compilation of mips targets (and more, probably) fails

---
 drivers/dma/MCD_tasks.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 8 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The connection between the language in which we think/program and the
problems and solutions we can imagine is very close. For this  reason
restricting  language  features  with  the intent of eliminating pro-
grammer errors is at best dangerous.
               - Bjarne Stroustrup in "The  C++ Programming Language"