[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1496146150-6892-1-git-send-email-daniel.lezcano@linaro.org>
Date: Tue, 30 May 2017 14:09:10 +0200
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: tglx@...utronix.de, daniel.lezcano@...aro.org
Cc: Arnd Bergman <arnd@...db.de>, John Stultz <john.stultz@...aro.org>,
Stephen Boyd <sboyd@...eaurora.org>,
linux-kernel@...r.kernel.org (open list:TIMEKEEPING, CLOCKSOURCE CORE,
NTP, ALARMTIMER)
Subject: [PATCH] clocksource: 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@...db.de>
Signed-off-by: Daniel Lezcano <daniel.lezcano@...aro.org>
---
include/linux/clocksource.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
index c48ceef..d92bd83 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
--
2.7.4
Powered by blists - more mailing lists