diff -urpN linux-2.6.20-rc1-fix2/arch/arm/mach-s3c2410/dma.c linux-2.6.20-rc1-fix3/arch/arm/mach-s3c2410/dma.c --- linux-2.6.20-rc1-fix2/arch/arm/mach-s3c2410/dma.c 2006-12-17 21:03:05.000000000 +0000 +++ linux-2.6.20-rc1-fix3/arch/arm/mach-s3c2410/dma.c 2006-12-17 21:46:25.000000000 +0000 @@ -42,7 +42,7 @@ static void __iomem *dma_base; static struct kmem_cache *dma_kmem; -struct s3c24xx_dma_selection dma_sel; +static struct s3c24xx_dma_selection dma_sel; /* dma channel state information */ struct s3c2410_dma_chan s3c2410_chans[S3C2410_DMA_CHANNELS]; @@ -878,7 +878,7 @@ static int s3c2410_dma_dostop(struct s3c return 0; } -void s3c2410_dma_waitforstop(struct s3c2410_dma_chan *chan) +static void s3c2410_dma_waitforstop(struct s3c2410_dma_chan *chan) { unsigned long tmp; unsigned int timeout = 0x10000; @@ -955,7 +955,7 @@ static int s3c2410_dma_flush(struct s3c2 return 0; } -int +static int s3c2410_dma_started(struct s3c2410_dma_chan *chan) { unsigned long flags; @@ -1364,7 +1364,7 @@ static inline int is_channel_valid(unsig * have to say about the likely peripheral set to be in use. */ -struct s3c2410_dma_chan *s3c2410_dma_map_channel(int channel) +static struct s3c2410_dma_chan *s3c2410_dma_map_channel(int channel) { struct s3c24xx_dma_map *ch_map; struct s3c2410_dma_chan *dmach;