]> git.karo-electronics.de Git - karo-tx-linux.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)
commit4178bac4f6e955869395b30246687d41183a5edb
treeeaaaa480068ce221267abe3990b278141e8877ea
parentf44089a7f41c88775428f09e90df8fb2b890058a
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