From: Marek Szyprowski Date: Wed, 24 Jun 2009 06:05:43 +0000 (+0200) Subject: ARM: NCP: make ncp_iodesc static and move it to initdata section X-Git-Tag: firefly_0821_release~12329^2~1^2~14^2~14^2~3 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4d4e2bc268e188a8793ce96af20576374098c17b;p=firefly-linux-kernel-4.4.55.git ARM: NCP: make ncp_iodesc static and move it to initdata section Make ncp_iodesc struct static to clean a public namespace a bit and move it to __initdata section to save memory a bit. Reviewed-by: Kyungmin Park Signed-off-by: Marek Szyprowski Signed-off-by: Ben Dooks --- diff --git a/arch/arm/mach-s3c6410/mach-ncp.c b/arch/arm/mach-s3c6410/mach-ncp.c index 6030636f8548..55e9bbfaf68b 100644 --- a/arch/arm/mach-s3c6410/mach-ncp.c +++ b/arch/arm/mach-s3c6410/mach-ncp.c @@ -79,7 +79,7 @@ static struct platform_device *ncp_devices[] __initdata = { &s3c_device_i2c0, }; -struct map_desc ncp_iodesc[] = {}; +static struct map_desc ncp_iodesc[] __initdata = {}; static void __init ncp_map_io(void) {