Commit b1f172a1 authored by John Crispin's avatar John Crispin Committed by Ralf Baechle

MIPS: ralink: Probe clocksources from OF

Make plat_time_init() call clocksource_of_init() allowing the systick cevt
to load.
Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/5670/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 1f2acc5a
...@@ -69,4 +69,5 @@ void __init plat_time_init(void) ...@@ -69,4 +69,5 @@ void __init plat_time_init(void)
pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000); pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000);
mips_hpt_frequency = clk_get_rate(clk) / 2; mips_hpt_frequency = clk_get_rate(clk) / 2;
clk_put(clk); clk_put(clk);
clocksource_of_init();
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment