Skip to contentSkip to conversation

clocksource: Add missing include of of.h.

PATCH In review David Lechner 2 participants 2 messages Mar 10, 2016 – Apr 7, 2016 Timekeeping, clocksource core, NTP, alarmtimer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clocksource: Add missing include of of.h.

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.

---
 include/linux/clocksource.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/clocksource.h +1 -0
index 7784b59..47cc33c 100644
@@ -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>
 
Signature · 1 line
1.9.1
#1 lore raw
Quoted 6 lines · 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.

Queued for testing.

thanks
-john