diff options
Diffstat (limited to 'arch/powerpc/kernel/time.c')
-rw-r--r-- | arch/powerpc/kernel/time.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/time.c b/arch/powerpc/kernel/time.c index 7316dd15278a..2d7b33fab953 100644 --- a/arch/powerpc/kernel/time.c +++ b/arch/powerpc/kernel/time.c | |||
@@ -54,6 +54,7 @@ | |||
54 | #include <linux/irq.h> | 54 | #include <linux/irq.h> |
55 | #include <linux/delay.h> | 55 | #include <linux/delay.h> |
56 | #include <linux/irq_work.h> | 56 | #include <linux/irq_work.h> |
57 | #include <linux/clk-provider.h> | ||
57 | #include <asm/trace.h> | 58 | #include <asm/trace.h> |
58 | 59 | ||
59 | #include <asm/io.h> | 60 | #include <asm/io.h> |
@@ -975,6 +976,10 @@ void __init time_init(void) | |||
975 | 976 | ||
976 | init_decrementer_clockevent(); | 977 | init_decrementer_clockevent(); |
977 | tick_setup_hrtimer_broadcast(); | 978 | tick_setup_hrtimer_broadcast(); |
979 | |||
980 | #ifdef CONFIG_COMMON_CLK | ||
981 | of_clk_init(NULL); | ||
982 | #endif | ||
978 | } | 983 | } |
979 | 984 | ||
980 | 985 | ||