From: Ben Dooks Date: Mon, 28 May 2007 17:57:31 +0000 (+0100) Subject: [ARM] 4415/1: AML5900: fix sparse warnings from map_io X-Git-Tag: v2.6.22-rc4~89^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e078761a0a815e142eee9f546f821ea259c82f7c;p=platform%2Fkernel%2Flinux-exynos.git [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 Signed-off-by: Russell King --- diff --git a/arch/arm/mach-s3c2410/mach-amlm5900.c b/arch/arm/mach-s3c2410/mach-amlm5900.c index bc308ce..435adcc 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);