Use #ifdef CONFIG_FSLDMAFEC
PATCH 1/1 Use #ifdef CONFIG_FSLDMAFEC
MCD_tasks.c lacks [subject] so compilation of mips targets (and more, probably) fails
Signed-off-by Vlad Lungu <[email protected]>
--- drivers/dma/MCD_tasks.c | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
drivers/dma/MCD_tasks.c +6 -0
@@ -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
PATCH 1/1 Use #ifdef CONFIG_FSLDMAFEC
Vlad,
Thanks. I will apply the patch.
Regards,
TsiChung
Wolfgang Denk
AppliedPATCH 1/1 Use #ifdef CONFIG_FSLDMAFEC
In reply to Vlad LunguQuoted 7 lines · In message <[email protected]> you wrote:
MCD_tasks.clacks [subject] so compilation of mips targets (and more, probably) failsSigned-off-by Vlad Lungu <[email protected]>--- 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"