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)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 25 Apr 2014 17:15:56 +0000 (18:15 +0100)
commitbc3ee18a7a57243721ecfd879319e3d2e882f289
treeffec556fa31106c8d8e6a21647e8c0449b4fdd25
parent8f0712037b4ed63dfce844939ac9866054f15ca0
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>
arch/arm64/kernel/setup.c
arch/arm64/kernel/time.c