Skip to content
Commit 3d837bc0 authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Thomas Gleixner
Browse files

clocksource/drivers/arm_arch_timer:: Mark cyclecounter __ro_after_init



The object cyclecounter of type cyclecounter is only modified during
initialization in arch_counter_register. So it can be marked
__ro_after_init.

Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
Cc: mark.rutland@arm.com
Cc: keescook@chromium.org
Cc: marc.zyngier@arm.com
Cc: daniel.lezcano@linaro.org
Cc: julia.lawall@lip6.fr
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/1486840818-22214-1-git-send-email-bhumirks@gmail.com


Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 1e38da30
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment