ARM: NCP: make ncp_iodesc static and move it to initdata section
authorMarek Szyprowski <m.szyprowski@samsung.com>
Wed, 24 Jun 2009 06:05:43 +0000 (08:05 +0200)
committerBen Dooks <ben-linux@fluff.org>
Thu, 13 Aug 2009 23:58:03 +0000 (00:58 +0100)
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>
arch/arm/mach-s3c6410/mach-ncp.c

index 6030636f85480fe248d94d3fd60a7b0398a008f7..55e9bbfaf68b374fab818fab0da0de4a7e483566 100644 (file)
@@ -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)
 {