diff options
Diffstat (limited to 'drivers/clk/mvebu/clk-cpu.c')
-rw-r--r-- | drivers/clk/mvebu/clk-cpu.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/drivers/clk/mvebu/clk-cpu.c b/drivers/clk/mvebu/clk-cpu.c index 9dd2551a0a41..b0fbc0715491 100644 --- a/drivers/clk/mvebu/clk-cpu.c +++ b/drivers/clk/mvebu/clk-cpu.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/io.h> | 16 | #include <linux/io.h> |
17 | #include <linux/of.h> | 17 | #include <linux/of.h> |
18 | #include <linux/delay.h> | 18 | #include <linux/delay.h> |
19 | #include "clk-cpu.h" | ||
20 | 19 | ||
21 | #define SYS_CTRL_CLK_DIVIDER_CTRL_OFFSET 0x0 | 20 | #define SYS_CTRL_CLK_DIVIDER_CTRL_OFFSET 0x0 |
22 | #define SYS_CTRL_CLK_DIVIDER_VALUE_OFFSET 0xC | 21 | #define SYS_CTRL_CLK_DIVIDER_VALUE_OFFSET 0xC |
@@ -173,17 +172,5 @@ clks_out: | |||
173 | kfree(cpuclk); | 172 | kfree(cpuclk); |
174 | } | 173 | } |
175 | 174 | ||
176 | static const __initconst struct of_device_id clk_cpu_match[] = { | 175 | CLK_OF_DECLARE(armada_xp_cpu_clock, "marvell,armada-xp-cpu-clock", |
177 | { | 176 | of_cpu_clk_setup); |
178 | .compatible = "marvell,armada-xp-cpu-clock", | ||
179 | .data = of_cpu_clk_setup, | ||
180 | }, | ||
181 | { | ||
182 | /* sentinel */ | ||
183 | }, | ||
184 | }; | ||
185 | |||
186 | void __init mvebu_cpu_clk_init(void) | ||
187 | { | ||
188 | of_clk_init(clk_cpu_match); | ||
189 | } | ||