From: John Crispin Date: Thu, 8 Aug 2013 11:08:07 +0000 (+0200) Subject: MIPS: ralink: Probe clocksources from OF X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=b1f172a133879674ee4ab7146b788ee18aa8485a;p=linux-beck.git 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 Cc: linux-mips@linux-mips.org Patchwork: http://patchwork.linux-mips.org/patch/5670/ Signed-off-by: Ralf Baechle --- 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) pr_info("CPU Clock: %ldMHz\n", clk_get_rate(clk) / 1000000); mips_hpt_frequency = clk_get_rate(clk) / 2; clk_put(clk); + clocksource_of_init(); }