Skip to content

Commit

Permalink
ARM: S3C64XX: Tidy definition and comments in s3c_dma_has_circular()
Browse files Browse the repository at this point in the history
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 54489cd

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
  • Loading branch information
Ben Dooks committed Nov 9, 2009
1 parent 54489cd commit b3c5496
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions arch/arm/mach-s3c6400/include/mach/dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b3c5496

Please sign in to comment.