diff options
author | Marek Szyprowski <m.szyprowski@samsung.com> | 2009-06-24 08:05:43 +0200 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2009-08-14 00:58:03 +0100 |
commit | 4d4e2bc268e188a8793ce96af20576374098c17b (patch) | |
tree | 85cb447572227d8b91f588789257b52908bbb8c1 /arch/arm | |
parent | 4be3bd7849165e7efa6b0b35a23d6a3598d97465 (diff) | |
download | op-kernel-dev-4d4e2bc268e188a8793ce96af20576374098c17b.zip op-kernel-dev-4d4e2bc268e188a8793ce96af20576374098c17b.tar.gz |
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 <kyungmin.park@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-s3c6410/mach-ncp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-s3c6410/mach-ncp.c b/arch/arm/mach-s3c6410/mach-ncp.c index 6030636..55e9bbf 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) { |