aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 a1fb918b8021..4bed671e490e 100644
--- a/drivers/clocksource/arm_arch_timer.c
+++ b/drivers/clocksource/arm_arch_timer.c
@@ -1268,7 +1268,7 @@ arch_timer_mem_find_best_frame(struct arch_timer_mem *timer_mem)
1268 pr_err("Unable to find a suitable frame in timer @ %pa\n", 1268 pr_err("Unable to find a suitable frame in timer @ %pa\n",
1269 &timer_mem->cntctlbase); 1269 &timer_mem->cntctlbase);
1270 1270
1271 return frame; 1271 return best_frame;
1272} 1272}
1273 1273
1274static int __init 1274static int __init