projects
/
platform
/
kernel
/
linux-arm64.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f2acc5
)
MIPS: ralink: Probe clocksources from OF
author
John Crispin
<blogic@openwrt.org>
Thu, 8 Aug 2013 11:08:07 +0000
(13:08 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Wed, 4 Sep 2013 14:55:50 +0000
(16:55 +0200)
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>
arch/mips/ralink/clk.c
patch
|
blob
|
history
diff --git
a/arch/mips/ralink/clk.c
b/arch/mips/ralink/clk.c
index 8dfa22ff300b610cba4af13e6806da023a8ca5c3..bba0cdfd83bcd37b2278dce3fdec6f8980bfbb19 100644
(file)
--- 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();
}