arm64: init: Move of_clk_init to time_init
authorChanho Min <chanho.min@lge.com>
Mon, 14 Apr 2014 07:38:53 +0000 (08:38 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 21 May 2014 23:10:31 +0000 (00:10 +0100)
commit638b6642b041f83802ea5d7ca68b45ce508bbc5c
tree1e7e82baf58c04386c6d62bb6d3423eec6d64580
parent55fc9aa7e46ea98bcc9c5c445a817811f11579a6
arm64: init: Move of_clk_init to time_init

Clock providers should be initialized before clocksource_of_init.
If not, Clock source initialization can be fail to get the clock.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Chanho Min <chanho.min@lge.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit bc3ee18a7a57243721ecfd879319e3d2e882f289)
Signed-off-by: Mark Brown <broonie@linaro.org>
arch/arm64/kernel/setup.c
arch/arm64/kernel/time.c