diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2017-05-26 11:40:46 -0400 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2017-06-14 05:59:16 -0400 |
commit | ba5d08c0ea785d5710c5a1e7dc3182b7124d63c0 (patch) | |
tree | 67dc831bdb43f24512d047b0c19ee778b37c2d50 /arch/arm/mach-omap2/timer.c | |
parent | 1727339590fdb5a1ded881b540cd32121278d414 (diff) |
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/arm/mach-omap2/timer.c')
-rw-r--r-- | arch/arm/mach-omap2/timer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/arm/mach-omap2/timer.c b/arch/arm/mach-omap2/timer.c index 07dd692c4737..ae4bb9fdc483 100644 --- a/arch/arm/mach-omap2/timer.c +++ b/arch/arm/mach-omap2/timer.c | |||
@@ -497,7 +497,7 @@ void __init omap_init_time(void) | |||
497 | __omap_sync32k_timer_init(1, "timer_32k_ck", "ti,timer-alwon", | 497 | __omap_sync32k_timer_init(1, "timer_32k_ck", "ti,timer-alwon", |
498 | 2, "timer_sys_ck", NULL, false); | 498 | 2, "timer_sys_ck", NULL, false); |
499 | 499 | ||
500 | clocksource_probe(); | 500 | timer_probe(); |
501 | } | 501 | } |
502 | 502 | ||
503 | #if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_SOC_AM43XX) | 503 | #if defined(CONFIG_ARCH_OMAP3) || defined(CONFIG_SOC_AM43XX) |
@@ -506,7 +506,7 @@ void __init omap3_secure_sync32k_timer_init(void) | |||
506 | __omap_sync32k_timer_init(12, "secure_32k_fck", "ti,timer-secure", | 506 | __omap_sync32k_timer_init(12, "secure_32k_fck", "ti,timer-secure", |
507 | 2, "timer_sys_ck", NULL, false); | 507 | 2, "timer_sys_ck", NULL, false); |
508 | 508 | ||
509 | clocksource_probe(); | 509 | timer_probe(); |
510 | } | 510 | } |
511 | #endif /* CONFIG_ARCH_OMAP3 */ | 511 | #endif /* CONFIG_ARCH_OMAP3 */ |
512 | 512 | ||
@@ -517,7 +517,7 @@ void __init omap3_gptimer_timer_init(void) | |||
517 | __omap_sync32k_timer_init(2, "timer_sys_ck", NULL, | 517 | __omap_sync32k_timer_init(2, "timer_sys_ck", NULL, |
518 | 1, "timer_sys_ck", "ti,timer-alwon", true); | 518 | 1, "timer_sys_ck", "ti,timer-alwon", true); |
519 | if (of_have_populated_dt()) | 519 | if (of_have_populated_dt()) |
520 | clocksource_probe(); | 520 | timer_probe(); |
521 | } | 521 | } |
522 | #endif | 522 | #endif |
523 | 523 | ||
@@ -532,7 +532,7 @@ static void __init omap4_sync32k_timer_init(void) | |||
532 | void __init omap4_local_timer_init(void) | 532 | void __init omap4_local_timer_init(void) |
533 | { | 533 | { |
534 | omap4_sync32k_timer_init(); | 534 | omap4_sync32k_timer_init(); |
535 | clocksource_probe(); | 535 | timer_probe(); |
536 | } | 536 | } |
537 | #endif | 537 | #endif |
538 | 538 | ||
@@ -656,7 +656,7 @@ void __init omap5_realtime_timer_init(void) | |||
656 | omap4_sync32k_timer_init(); | 656 | omap4_sync32k_timer_init(); |
657 | realtime_counter_init(); | 657 | realtime_counter_init(); |
658 | 658 | ||
659 | clocksource_probe(); | 659 | timer_probe(); |
660 | } | 660 | } |
661 | #endif /* CONFIG_SOC_OMAP5 || CONFIG_SOC_DRA7XX */ | 661 | #endif /* CONFIG_SOC_OMAP5 || CONFIG_SOC_DRA7XX */ |
662 | 662 | ||