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


Groups > linux.kernel > #1385447

[PATCH 1/3] clocksource: Add missing include of of.h.

From John Stultz <john.stultz@linaro.org>
Newsgroups linux.kernel
Subject [PATCH 1/3] clocksource: Add missing include of of.h.
Date 2016-04-22 21:10 +0200
Message-ID <rqOCK-75k-19@gated-at.bofh.it> (permalink)
References <rqOCK-75k-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: David Lechner <david@lechnology.com>

This header uses OF_DELCARE_1 which is defined in linux/of.h.

This fixes getting unhelpful compiler error messages about missing ')'
before a string constant.

Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
---
 include/linux/clocksource.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
index a307bf6..44a1aff 100644
--- a/include/linux/clocksource.h
+++ b/include/linux/clocksource.h
@@ -15,6 +15,7 @@
 #include <linux/cache.h>
 #include <linux/timer.h>
 #include <linux/init.h>
+#include <linux/of.h>
 #include <asm/div64.h>
 #include <asm/io.h>
 
-- 
1.9.1

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[GIT PULL][PATCH 0/3] Few small timekeeping updates for 4.7 John Stultz <john.stultz@linaro.org> - 2016-04-22 21:10 +0200
  [PATCH 3/3] time: Introduce do_sys_settimeofday64() John Stultz <john.stultz@linaro.org> - 2016-04-22 21:10 +0200
  [PATCH 2/3] security: Introduce security_settime64() John Stultz <john.stultz@linaro.org> - 2016-04-22 21:10 +0200
  [PATCH 1/3] clocksource: Add missing include of of.h. John Stultz <john.stultz@linaro.org> - 2016-04-22 21:10 +0200

csiph-web