[PATCH] MN10300: make resource __initconst

2017-09-19 Thread Bhumika Goyal
Make code_resource and data_resource __initdata as these are only modified during the init phase and after that the structures and their fields are not referenced anywhere. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- arch/mn10300/kernel/setup.c | 4 ++-- 1 file

[PATCH] MN10300: make resource __initconst

2017-09-19 Thread Bhumika Goyal
Make code_resource and data_resource __initdata as these are only modified during the init phase and after that the structures and their fields are not referenced anywhere. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- arch/mn10300/kernel/setup.c | 4 ++-- 1 file changed, 2