diff options
author | Michal Simek <michal.simek@xilinx.com> | 2014-02-05 09:41:51 -0500 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2014-03-17 10:12:07 -0400 |
commit | 4a32c74e762236a53627536b9b9c1693d3073359 (patch) | |
tree | 9c3c2b98d3b8d34c6acf03f55219b5f7574817af /arch/arm/mach-zynq | |
parent | 568800731a5b0f6b03d3ee9435b42fecd342454e (diff) |
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 @@ | |||
19 | #include <linux/cpumask.h> | 19 | #include <linux/cpumask.h> |
20 | #include <linux/platform_device.h> | 20 | #include <linux/platform_device.h> |
21 | #include <linux/clk.h> | 21 | #include <linux/clk.h> |
22 | #include <linux/clk-provider.h> | ||
22 | #include <linux/clk/zynq.h> | 23 | #include <linux/clk/zynq.h> |
23 | #include <linux/clocksource.h> | 24 | #include <linux/clocksource.h> |
24 | #include <linux/of_address.h> | 25 | #include <linux/of_address.h> |
@@ -68,6 +69,7 @@ static void __init zynq_timer_init(void) | |||
68 | zynq_early_slcr_init(); | 69 | zynq_early_slcr_init(); |
69 | 70 | ||
70 | zynq_clock_init(); | 71 | zynq_clock_init(); |
72 | of_clk_init(NULL); | ||
71 | clocksource_of_init(); | 73 | clocksource_of_init(); |
72 | } | 74 | } |
73 | 75 | ||