]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
clocksource/drivers: Add an alias macro CLOCKSOURCE_OF_DECLARE
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 30 May 2017 06:35:40 +0000 (08:35 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 14 Jun 2017 10:02:01 +0000 (12:02 +0200)
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>
include/linux/clocksource.h

index c48ceefe0e6e6714f28d5e0c7f106eb265d25030..d92bd83eed9f4485209e0fabd0e25cc8550d5154 100644 (file)
@@ -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