summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c2410
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2007-05-28 19:57:31 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-05-30 14:15:30 +0200
commite078761a0a815e142eee9f546f821ea259c82f7c (patch)
tree81ab37cedd4ce1c2b4ec654415320a89f61faf2b /arch/arm/mach-s3c2410
parent[ARM] 4414/1: S3C2443: sparse fix for clock.c (diff)
downloadlinux-e078761a0a815e142eee9f546f821ea259c82f7c.tar.xz
linux-e078761a0a815e142eee9f546f821ea259c82f7c.zip
[ARM] 4415/1: AML5900: fix sparse warnings from map_io
The map_io function does not need to be exported from this file, and therefore should be declared static. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-s3c2410')
-rw-r--r--arch/arm/mach-s3c2410/mach-amlm5900.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c2410/mach-amlm5900.c b/arch/arm/mach-s3c2410/mach-amlm5900.c
index bc308ceb91c3..435adcce6482 100644
--- a/arch/arm/mach-s3c2410/mach-amlm5900.c
+++ b/arch/arm/mach-s3c2410/mach-amlm5900.c
@@ -160,7 +160,7 @@ static struct platform_device *amlm5900_devices[] __initdata = {
#endif
};
-void __init amlm5900_map_io(void)
+static void __init amlm5900_map_io(void)
{
s3c24xx_init_io(amlm5900_iodesc, ARRAY_SIZE(amlm5900_iodesc));
s3c24xx_init_clocks(0);