Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1653172 > unrolled thread

[PATCH] clocksource: Add an alias macro CLOCKSOURCE_OF_DECLARE

Started byDaniel Lezcano <daniel.lezcano@linaro.org>
First post2017-05-30 14:20 +0200
Last post2017-05-30 14:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH] clocksource: Add an alias macro CLOCKSOURCE_OF_DECLARE Daniel Lezcano <daniel.lezcano@linaro.org> - 2017-05-30 14:20 +0200

#1653172 — [PATCH] clocksource: Add an alias macro CLOCKSOURCE_OF_DECLARE

FromDaniel Lezcano <daniel.lezcano@linaro.org>
Date2017-05-30 14:20 +0200
Subject[PATCH] clocksource: Add an alias macro CLOCKSOURCE_OF_DECLARE
Message-ID<tMOhX-7ev-3@gated-at.bofh.it>
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 | 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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web