diff options
author | Vlad Lungu <vlad@comsys.ro> | 2008-01-23 16:34:46 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-02-14 22:13:28 +0100 |
commit | dd24058407c5add45cc60aec6c757ddc1a17e1b0 (patch) | |
tree | 5a1b3094583b4d86173210d422416bbb4d9f0136 /drivers/dma/MCD_tasks.c | |
parent | 26c7bab81e08dc7bd696c48f753428a829629bd8 (diff) | |
download | u-boot-imx-dd24058407c5add45cc60aec6c757ddc1a17e1b0.zip u-boot-imx-dd24058407c5add45cc60aec6c757ddc1a17e1b0.tar.gz u-boot-imx-dd24058407c5add45cc60aec6c757ddc1a17e1b0.tar.bz2 |
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>
Diffstat (limited to 'drivers/dma/MCD_tasks.c')
-rw-r--r-- | 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 */ |