[PATCH] clocksource: Add missing include of of.h.

From: David Lechner
Date: Wed Mar 09 2016 - 20:17:15 EST


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@xxxxxxxxxxxxxx>
---
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