diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-02-05 15:41:51 +0100 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-03-17 15:12:07 +0100 |
commit | 4a32c74e762236a53627536b9b9c1693d3073359 (patch) | |
tree | 9c3c2b98d3b8d34c6acf03f55219b5f7574817af /arch/arm/mach-zynq | |
parent | 568800731a5b0f6b03d3ee9435b42fecd342454e (diff) | |
download | linux-stable-4a32c74e762236a53627536b9b9c1693d3073359.tar.gz linux-stable-4a32c74e762236a53627536b9b9c1693d3073359.tar.bz2 linux-stable-4a32c74e762236a53627536b9b9c1693d3073359.zip |
ARM: zynq: Move of_clk_init from clock driver
Move of_clk_init() from clock driver to enable
options not to use zynq clock driver.
Use for example fixed clock setting.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'arch/arm/mach-zynq')
-rw-r--r-- | arch/arm/mach-zynq/common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-zynq/common.c b/arch/arm/mach-zynq/common.c index 93ea19b13e6e..5755129a6e47 100644 --- a/arch/arm/mach-zynq/common.c +++ b/arch/arm/mach-zynq/common.c @@ -19,6 +19,7 @@ #include <linux/cpumask.h> #include <linux/platform_device.h> #include <linux/clk.h> +#include <linux/clk-provider.h> #include <linux/clk/zynq.h> #include <linux/clocksource.h> #include <linux/of_address.h> @@ -68,6 +69,7 @@ static void __init zynq_timer_init(void) zynq_early_slcr_init(); zynq_clock_init(); + of_clk_init(NULL); clocksource_of_init(); } |