diff options
author | Vladimir Zapolskiy <vz@mleia.com> | 2016-09-26 02:03:43 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2016-11-01 09:44:46 +0100 |
commit | 6fe5aeb5e7e9318bb720b1f582fc86b7ac3118c0 (patch) | |
tree | 78ef7c4c91e5d2695fde3b6139d511c1276556ac /arch/arm/mach-imx/common.h | |
parent | clk: imx31: fix rewritten input argument of mx31_clocks_init() (diff) | |
download | linux-6fe5aeb5e7e9318bb720b1f582fc86b7ac3118c0.tar.xz linux-6fe5aeb5e7e9318bb720b1f582fc86b7ac3118c0.zip |
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>
Diffstat (limited to 'arch/arm/mach-imx/common.h')
-rw-r--r-- | arch/arm/mach-imx/common.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/common.h b/arch/arm/mach-imx/common.h index c4436d9c52ff..b09a2ec19267 100644 --- a/arch/arm/mach-imx/common.h +++ b/arch/arm/mach-imx/common.h @@ -43,7 +43,6 @@ int mx21_clocks_init(unsigned long lref, unsigned long fref); int mx27_clocks_init(unsigned long fref); int mx31_clocks_init(unsigned long fref); int mx35_clocks_init(void); -int mx31_clocks_init_dt(void); struct platform_device *mxc_register_gpio(char *name, int id, resource_size_t iobase, resource_size_t iosize, int irq, int irq_high); void mxc_set_cpu_type(unsigned int type); |