ARM: S3C64XX: Tidy definition and comments in s3c_dma_has_circular()
authorBen Dooks <ben-linux@fluff.org>
Mon, 9 Nov 2009 23:45:47 +0000 (23:45 +0000)
committerBen Dooks <ben-linux@fluff.org>
Mon, 9 Nov 2009 23:45:47 +0000 (23:45 +0000)
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>
arch/arm/mach-s3c6400/include/mach/dma.h

index 1067619f0ba07a5a2b12ebc0838e941d8d3d745b..6723860748be252561be560cb78cde08f456a9a3 100644 (file)
@@ -58,12 +58,9 @@ enum dma_ch {
        DMACH_MAX               /* the end */
 };
 
-static __inline__ int s3c_dma_has_circular(void)
+static __inline__ bool s3c_dma_has_circular(void)
 {
-       /* we will be supporting ciruclar buffers as soon as we have DMA
-        * engine support.
-        */
-       return 1;
+       return true;
 }
 
 #define S3C2410_DMAF_CIRCULAR          (1 << 0)