diff options
author | Ben Dooks <ben-linux@fluff.org> | 2009-11-09 18:45:47 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-11-09 18:45:47 -0500 |
commit | b3c5496fbfc2e5f64bb85b142615717850fee980 (patch) | |
tree | aa21eb53f727dc9d4e6a0fb18e601c0ae92237f1 /arch | |
parent | 54489cd46a3a268ed981c681726c6d690883f076 (diff) |
ARM: S3C64XX: Tidy definition and comments in s3c_dma_has_circular()
The recent changes to arch/arm/mach-s3c6400/include/mach/dma.h have
left an out of date comment in there as well as accidentally changing
the type of the function.
Fix the commit 54489cd46a3a268ed981c681726c6d690883f076
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-s3c6400/include/mach/dma.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/arm/mach-s3c6400/include/mach/dma.h b/arch/arm/mach-s3c6400/include/mach/dma.h index 1067619f0ba0..6723860748be 100644 --- a/arch/arm/mach-s3c6400/include/mach/dma.h +++ b/arch/arm/mach-s3c6400/include/mach/dma.h | |||
@@ -58,12 +58,9 @@ enum dma_ch { | |||
58 | DMACH_MAX /* the end */ | 58 | DMACH_MAX /* the end */ |
59 | }; | 59 | }; |
60 | 60 | ||
61 | static __inline__ int s3c_dma_has_circular(void) | 61 | static __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) |