[PATCH] x86/numachip: make numachip2_clockevent const and __initconst

2017-09-18 Thread Bhumika Goyal
Make this const as it is only used during a copy operation. This usage is during the init phase, so annotate the structure with __initconst too. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/clocksource/numachip.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH] x86/numachip: make numachip2_clockevent const and __initconst

2017-09-18 Thread Bhumika Goyal
Make this const as it is only used during a copy operation. This usage is during the init phase, so annotate the structure with __initconst too. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/clocksource/numachip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff