[PATCH]: Remove duplicate s3c_dma_has_circular() definition for S3C64xx.

Maurus Cuelenaere mcuelenaere at gmail.com
Tue Nov 3 17:35:30 EST 2009


This patch removes the duplicated s3c_dma_has_circular() definition and so fixes
compilation for S3C64xx.

Signed-off-by: Maurus Cuelenaere <mcuelenaere at gmail.com>

---
 arch/arm/mach-s3c6400/include/mach/dma.h |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/arch/arm/mach-s3c6400/include/mach/dma.h
b/arch/arm/mach-s3c6400/include/mach/dma.h
index 004edab..b7e5494 100644
--- a/arch/arm/mach-s3c6400/include/mach/dma.h
+++ b/arch/arm/mach-s3c6400/include/mach/dma.h
@@ -58,14 +58,6 @@ enum dma_ch {
 	DMACH_MAX		/* the end */
 };

-static __inline__ int s3c_dma_has_circular(void)
-{
-	/* we will be supporting ciruclar buffers as soon as we have DMA
-	 * engine support.
-	 */
-	return 1;
-}
-
 #define S3C2410_DMAF_CIRCULAR		(1 << 0)

 static inline bool s3c_dma_has_circular(void)
-- 
1.6.3.3



More information about the linux-arm-kernel mailing list