Skip to content

Commit

Permalink
ARM: NCP: make ncp_iodesc static and move it to initdata section
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Marek Szyprowski authored and Ben Dooks committed Aug 13, 2009
1 parent 4be3bd7 commit 4d4e2bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c6410/mach-ncp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 4d4e2bc

Please sign in to comment.