]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] 4326/1: S3C24XX: fix sparse errors in DMA code
authorBen Dooks <ben-linux@fluff.org>
Fri, 20 Apr 2007 10:39:46 +0000 (11:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 21 Apr 2007 19:53:23 +0000 (20:53 +0100)
commita7717435656c874843b1742383cc37540f5ff91e
treebc66c0e1cbaa5620786fa0e07e1abbbf16ce19c1
parent57e5171c9ff817d56344d8473e484d6870ae2bf3
[ARM] 4326/1: S3C24XX: fix sparse errors in DMA code

Fix the following sparse errors in arch/arm/plat-s3c24xx/dma.c:

dma.c:47:30: warning: symbol 'dma_sel' was not declared. Should it be static?
dma.c:883:6: warning: symbol 's3c2410_dma_waitforstop' was not declared. Should it be static?
dma.c:961:1: warning: symbol 's3c2410_dma_started' was not declared. Should it be static?
dma.c:1283:12: warning: symbol 's3c24xx_dma_sysclass_init' was not declared. Should it be static?
dma.c:1295:12: warning: symbol 's3c24xx_dma_sysdev_register' was not declared. Should it be static?
dma.c:1399:25: warning: symbol 's3c2410_dma_map_channel' was not declared. Should it be static?

The patch makes all the relevant functions static.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/plat-s3c24xx/dma.c