提交 b3c5496f 编写于 作者: B Ben Dooks

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 54489cd4Signed-off-by: NBen Dooks <ben-linux@fluff.org>
上级 54489cd4
...@@ -58,12 +58,9 @@ enum dma_ch { ...@@ -58,12 +58,9 @@ enum dma_ch {
DMACH_MAX /* the end */ 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 return true;
* engine support.
*/
return 1;
} }
#define S3C2410_DMAF_CIRCULAR (1 << 0) #define S3C2410_DMAF_CIRCULAR (1 << 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册