ARM: clk: imx31: properly init clocks for machines with DT
authorVladimir Zapolskiy <vz@mleia.com>
Mon, 26 Sep 2016 00:03:43 +0000 (03:03 +0300)
committerShawn Guo <shawnguo@kernel.org>
Tue, 1 Nov 2016 08:44:46 +0000 (16:44 +0800)
commit6fe5aeb5e7e9318bb720b1f582fc86b7ac3118c0
tree78ef7c4c91e5d2695fde3b6139d511c1276556ac
parentbae203d58b7dce89664071b3fafe20cedaa3e4f6
ARM: clk: imx31: properly init clocks for machines with DT

Clock initialization for i.MX31 powered machines with DT support
should be done by a call of an init function registered with
CLK_OF_DECLARE() in common clock framework.

The change converts exported mx31_clocks_init_dt() into a static
initialization function registered by CLK_OF_DECLARE().

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/common.h
arch/arm/mach-imx/imx31-dt.c
drivers/clk/imx/clk-imx31.c