aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c6400/include/mach/dma.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-11-17 01:51:02 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-17 01:51:07 -0500
commit99f4c9de2b707795acb215e2e94df7ea266042b5 (patch)
tree6123682a8e0d880feebb690a55b3fb442ef3dee8 /arch/arm/mach-s3c6400/include/mach/dma.h
parent62ad33f67003b9a7b6013f0511579b9805e11626 (diff)
parent156171c71a0dc4bce12b4408bb1591f8fe32dc1a (diff)
Merge commit 'v2.6.32-rc7' into core/iommu
Merge reason: Add fixes we'll depend on. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/arm/mach-s3c6400/include/mach/dma.h')
-rw-r--r--arch/arm/mach-s3c6400/include/mach/dma.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/arch/arm/mach-s3c6400/include/mach/dma.h b/arch/arm/mach-s3c6400/include/mach/dma.h
index 004edab23954..6723860748be 100644
--- a/arch/arm/mach-s3c6400/include/mach/dma.h
+++ b/arch/arm/mach-s3c6400/include/mach/dma.h
@@ -58,21 +58,13 @@ enum dma_ch {
58 DMACH_MAX /* the end */ 58 DMACH_MAX /* the end */
59}; 59};
60 60
61static __inline__ int s3c_dma_has_circular(void) 61static __inline__ bool s3c_dma_has_circular(void)
62{ 62{
63 /* we will be supporting ciruclar buffers as soon as we have DMA 63 return true;
64 * engine support.
65 */
66 return 1;
67} 64}
68 65
69#define S3C2410_DMAF_CIRCULAR (1 << 0) 66#define S3C2410_DMAF_CIRCULAR (1 << 0)
70 67
71static inline bool s3c_dma_has_circular(void)
72{
73 return false;
74}
75
76#include <plat/dma.h> 68#include <plat/dma.h>
77 69
78#endif /* __ASM_ARCH_IRQ_H */ 70#endif /* __ASM_ARCH_IRQ_H */