summaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2017-05-26 17:40:46 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2017-06-14 11:59:16 +0200
commitba5d08c0ea785d5710c5a1e7dc3182b7124d63c0 (patch)
tree67dc831bdb43f24512d047b0c19ee778b37c2d50 /arch/nios2
parentclocksource/drivers: Rename CLOCKSOURCE_OF_DECLARE to TIMER_OF_DECLARE (diff)
downloadlinux-ba5d08c0ea785d5710c5a1e7dc3182b7124d63c0.tar.xz
linux-ba5d08c0ea785d5710c5a1e7dc3182b7124d63c0.zip
clocksource/drivers: Rename clocksource_probe to timer_probe
The function name is now renamed to 'timer_probe' for consistency with the CLOCKSOURCE_OF_DECLARE => TIMER_OF_DECLARE change. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Acked-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/kernel/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/nios2/kernel/time.c b/arch/nios2/kernel/time.c
index 2954b6617378..645129aaa9a0 100644
--- a/arch/nios2/kernel/time.c
+++ b/arch/nios2/kernel/time.c
@@ -350,7 +350,7 @@ void __init time_init(void)
if (count < 2)
panic("%d timer is found, it needs 2 timers in system\n", count);
- clocksource_probe();
+ timer_probe();
}
TIMER_OF_DECLARE(nios2_timer, ALTR_TIMER_COMPATIBLE, nios2_time_init);