Merge branch 'x86-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[deliverable/linux.git] / 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 }
This page took 0.049234 seconds and 5 git commands to generate.