summaryrefslogtreecommitdiff
path: root/include/linux/clocksource.h
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2017-05-30 08:35:40 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2017-06-14 12:02:01 +0200
commit8b7a3b568814a8e36d2910dd74465b0215aa0a31 (patch)
tree14fc9c17f4f9eb6ba1337bb13ba29d020fd28623 /include/linux/clocksource.h
parentfa1bffab268723d40ae06e855898f7e8361487e9 (diff)
downloadlinux-next-8b7a3b568814a8e36d2910dd74465b0215aa0a31.tar.gz
clocksource/drivers: Add an alias macro CLOCKSOURCE_OF_DECLARE
The macro CLOCKSOURCE_OF_DECLARE has been rename to TIMER_OF_DECLARE. In order to prevent conflicts for the next merge window, a temporary alias has been added which will be removed later. Cc: Arnd Bergman <arnd@arndb.de> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'include/linux/clocksource.h')
-rw-r--r--include/linux/clocksource.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
index c48ceefe0e6e..d92bd83eed9f 100644
--- a/include/linux/clocksource.h
+++ b/include/linux/clocksource.h
@@ -252,6 +252,9 @@ extern int clocksource_i8253_init(void);
#define TIMER_OF_DECLARE(name, compat, fn) \
OF_DECLARE_1_RET(timer, name, compat, fn)
+#define CLOCKSOURCE_OF_DECLARE(name, compat, fn) \
+ TIMER_OF_DECLARE(name, compat, fn)
+
#ifdef CONFIG_TIMER_PROBE
extern void timer_probe(void);
#else