diff options
Diffstat (limited to 'drivers/clocksource/sunxi_timer.c')
-rw-r--r-- | drivers/clocksource/sunxi_timer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clocksource/sunxi_timer.c b/drivers/clocksource/sunxi_timer.c index 3cd1bd3d7aee..93d09d0e009f 100644 --- a/drivers/clocksource/sunxi_timer.c +++ b/drivers/clocksource/sunxi_timer.c | |||
@@ -23,7 +23,7 @@ | |||
23 | #include <linux/of_address.h> | 23 | #include <linux/of_address.h> |
24 | #include <linux/of_irq.h> | 24 | #include <linux/of_irq.h> |
25 | #include <linux/sunxi_timer.h> | 25 | #include <linux/sunxi_timer.h> |
26 | #include <linux/clk/sunxi.h> | 26 | #include <linux/clk-provider.h> |
27 | 27 | ||
28 | #define TIMER_CTL_REG 0x00 | 28 | #define TIMER_CTL_REG 0x00 |
29 | #define TIMER_CTL_ENABLE (1 << 0) | 29 | #define TIMER_CTL_ENABLE (1 << 0) |
@@ -124,7 +124,7 @@ static void __init sunxi_timer_init(void) | |||
124 | if (irq <= 0) | 124 | if (irq <= 0) |
125 | panic("Can't parse IRQ"); | 125 | panic("Can't parse IRQ"); |
126 | 126 | ||
127 | sunxi_init_clocks(); | 127 | of_clk_init(NULL); |
128 | 128 | ||
129 | clk = of_clk_get(node, 0); | 129 | clk = of_clk_get(node, 0); |
130 | if (IS_ERR(clk)) | 130 | if (IS_ERR(clk)) |