* [U-Boot-Users] [PATCH] Use #ifdef CONFIG_FSLDMAFEC
@ 2008-01-23 14:34 Vlad Lungu
2008-01-30 21:22 ` Liew Tsi Chung
2008-02-14 21:13 ` Wolfgang Denk
0 siblings, 2 replies; 3+ messages in thread
From: Vlad Lungu @ 2008-01-23 14:34 UTC (permalink / raw)
To: u-boot
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 | 6 ++++++
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 */
--
1.5.2.2
^ permalink raw reply related [flat|nested] 3+ messages in thread* [U-Boot-Users] [PATCH] Use #ifdef CONFIG_FSLDMAFEC
2008-01-23 14:34 [U-Boot-Users] [PATCH] Use #ifdef CONFIG_FSLDMAFEC Vlad Lungu
@ 2008-01-30 21:22 ` Liew Tsi Chung
2008-02-14 21:13 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Liew Tsi Chung @ 2008-01-30 21:22 UTC (permalink / raw)
To: u-boot
Vlad,
Thanks. I will apply the patch.
Regards,
TsiChung
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] [PATCH] Use #ifdef CONFIG_FSLDMAFEC
2008-01-23 14:34 [U-Boot-Users] [PATCH] Use #ifdef CONFIG_FSLDMAFEC Vlad Lungu
2008-01-30 21:22 ` Liew Tsi Chung
@ 2008-02-14 21:13 ` Wolfgang Denk
1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2008-02-14 21:13 UTC (permalink / raw)
To: u-boot
In message <47975086.8050406@comsys.ro> you wrote:
> 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 | 6 ++++++
> 1 files changed, 6 insertions(+), 0 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
--
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"
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-02-14 21:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-23 14:34 [U-Boot-Users] [PATCH] Use #ifdef CONFIG_FSLDMAFEC Vlad Lungu
2008-01-30 21:22 ` Liew Tsi Chung
2008-02-14 21:13 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox