提交 4d4e2bc2 编写于 作者: M Marek Szyprowski 提交者: Ben Dooks

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: NKyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: NMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: NBen Dooks <ben-linux@fluff.org>
上级 4be3bd78
......@@ -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)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册