aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-08-08 07:08:07 -0400
committerRalf Baechle <ralf@linux-mips.org>2013-09-04 10:55:50 -0400
commitb1f172a133879674ee4ab7146b788ee18aa8485a (patch)
tree91172722786dc092a4d53a8cd8640441ae02aedb /arch/mips
parent1f2acc5a8a0adec4a800441f0aa0c16b7bf0768d (diff)
MIPS: ralink: Probe clocksources from OF
Make plat_time_init() call clocksource_of_init() allowing the systick cevt to load. Signed-off-by: John Crispin <blogic@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/5670/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/ralink/clk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/ralink/clk.c b/arch/mips/ralink/clk.c
index 8dfa22ff300b..bba0cdfd83bc 100644
--- a/arch/mips/ralink/clk.c
+++ b/arch/mips/ralink/clk.c
@@ -69,4 +69,5 @@ void __init plat_time_init(void)
69 pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000); 69 pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000);
70 mips_hpt_frequency = clk_get_rate(clk) / 2; 70 mips_hpt_frequency = clk_get_rate(clk) / 2;
71 clk_put(clk); 71 clk_put(clk);
72 clocksource_of_init();
72} 73}