]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: call of_clk_init from default time_init handler
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Wed, 4 Sep 2013 10:24:03 +0000 (12:24 +0200)
committerSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Sun, 29 Sep 2013 19:09:15 +0000 (21:09 +0200)
commit9f8902a03a4df5ff8a0f5f87a6fb40b920cc56ee
treeeaaaa480068ce221267abe3990b278141e8877ea
parentf263220dc668f6e7ba1b458d6d651a6705748c30
ARM: call of_clk_init from default time_init handler

Most DT ARM machs require common clock providers initialized before timers.
Currently, arch/arm machs use .init_time to call of_clk_init right before
clocksource_of_init. This prevents to remove that callback and use the default
one instead.

This patch adds a call to of_clk_init() to the default .init_time callback
for COMMON_CLK enabled machs to allow to remove custom callbacks where applicable.
While at it, also reorder includes alphabetically.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
arch/arm/kernel/time.c