aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/clksrc-dbx500-prcmu.h
diff options
context:
space:
mode:
authorMattias Wallin <mattias.wallin@stericsson.com>2011-05-27 04:30:12 -0400
committerLinus Walleij <linus.walleij@linaro.org>2011-09-22 09:42:57 -0400
commit489bccea6334514a8e13436f10d0a274777bf17a (patch)
tree16ef60894e87bc95e1e44e975667325bb46f6679 /include/linux/clksrc-dbx500-prcmu.h
parentcba13830d3fcb1e025e224c496a10515a39a7f80 (diff)
clocksource: add DBX500 PRCMU Timer support
This patch adds the DBX500 PRCMU Timer driver as a clocksource and as sched_clock. Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Mattias Wallin <mattias.wallin@stericsson.com> Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'include/linux/clksrc-dbx500-prcmu.h')
-rw-r--r--include/linux/clksrc-dbx500-prcmu.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/clksrc-dbx500-prcmu.h b/include/linux/clksrc-dbx500-prcmu.h
new file mode 100644
index 000000000000..d1e95042408b
--- /dev/null
+++ b/include/linux/clksrc-dbx500-prcmu.h
@@ -0,0 +1,22 @@
1/*
2 * Copyright (C) ST-Ericsson SA 2011
3 *
4 * License Terms: GNU General Public License v2
5 * Author: Mattias Wallin <mattias.wallin@stericsson.com>
6 *
7 */
8#ifndef __CLKSRC_DBX500_PRCMU_H
9#define __CLKSRC_DBX500_PRCMU_H
10
11#include <linux/init.h>
12#include <linux/io.h>
13
14extern void __iomem *clksrc_dbx500_timer_base;
15
16#ifdef CONFIG_CLKSRC_DBX500_PRCMU
17void __init clksrc_dbx500_prcmu_init(void);
18#else
19void __init clksrc_dbx500_prcmu_init(void) {}
20#endif
21
22#endif