aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/arm_arch_timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clocksource/arm_arch_timer.c')
-rw-r--r--drivers/clocksource/arm_arch_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c
index 7b06aef83836..93aa1364376a 100644
--- a/drivers/clocksource/arm_arch_timer.c
+++ b/drivers/clocksource/arm_arch_timer.c
@@ -646,7 +646,7 @@ static struct clocksource clocksource_counter = {
646 .flags = CLOCK_SOURCE_IS_CONTINUOUS, 646 .flags = CLOCK_SOURCE_IS_CONTINUOUS,
647}; 647};
648 648
649static struct cyclecounter cyclecounter = { 649static struct cyclecounter cyclecounter __ro_after_init = {
650 .read = arch_counter_read_cc, 650 .read = arch_counter_read_cc,
651 .mask = CLOCKSOURCE_MASK(56), 651 .mask = CLOCKSOURCE_MASK(56),
652}; 652};