Add the rt linux 4.1.3-rt3 as base
[kvmfornfv.git] / kernel / arch / metag / kernel / time.c
1 /*
2  * Copyright (C) 2005-2013 Imagination Technologies Ltd.
3  *
4  * This file contains the Meta-specific time handling details.
5  *
6  */
7
8 #include <clocksource/metag_generic.h>
9 #include <linux/clk-provider.h>
10 #include <linux/init.h>
11 #include <asm/clock.h>
12
13 void __init time_init(void)
14 {
15 #ifdef CONFIG_COMMON_CLK
16         /* Init clocks from device tree */
17         of_clk_init(NULL);
18 #endif
19
20         /* Init meta clocks, particularly the core clock */
21         init_metag_clocks();
22
23         /* Set up the timer clock sources */
24         metag_generic_timer_init();
25 }