linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] clocksource: Add missing include of of.h.
@ 2016-03-10  0:16 David Lechner
  2016-04-07 22:29 ` John Stultz
  0 siblings, 1 reply; 2+ messages in thread
From: David Lechner @ 2016-03-10  0:16 UTC (permalink / raw)
  To: John Stultz, Thomas Gleixner; +Cc: linux-kernel, David Lechner

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.

Signed-off-by: David Lechner <david@lechnology.com>
---
 include/linux/clocksource.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
index 7784b59..47cc33c 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] clocksource: Add missing include of of.h.
  2016-03-10  0:16 [PATCH] clocksource: Add missing include of of.h David Lechner
@ 2016-04-07 22:29 ` John Stultz
  0 siblings, 0 replies; 2+ messages in thread
From: John Stultz @ 2016-04-07 22:29 UTC (permalink / raw)
  To: David Lechner; +Cc: Thomas Gleixner, lkml

On Wed, Mar 9, 2016 at 4:16 PM, David Lechner <david@lechnology.com> wrote:
> 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.
>
> Signed-off-by: David Lechner <david@lechnology.com>


Queued for testing.

thanks
-john

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-04-07 22:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-10  0:16 [PATCH] clocksource: Add missing include of of.h David Lechner
2016-04-07 22:29 ` John Stultz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).