x86/numachip: Add const and __initconst to numachip2_clockevent
authorBhumika Goyal <bhumirks@gmail.com>
Tue, 29 Aug 2017 18:17:11 +0000 (23:47 +0530)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 25 Sep 2017 07:36:15 +0000 (09:36 +0200)
commit10430364ebb562311ba6a6efa74e0c2298007912
tree69e410c436482b5624bc6e33ed3e03d3897e63f5
parente19b205be43d11bff638cad4487008c48d21c103
x86/numachip: Add const and __initconst to numachip2_clockevent

Make this const as it is only used during a copy operation and add
__initconst as this usage is during the initialization phase.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: julia.lawall@lip6.fr
Cc: daniel.lezcano@linaro.org
Link: http://lkml.kernel.org/r/1504030631-10812-1-git-send-email-bhumirks@gmail.com
drivers/clocksource/numachip.c