aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/clocksource.h
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2016-03-09 18:16:54 -0600
committerJohn Stultz <john.stultz@linaro.org>2016-04-22 11:38:56 -0700
commit02fad5e9b433da3829d39f0afb3c51b4b6409ed5 (patch)
tree00888affb843b9e78e0da7092dbf9c8cb208d2a6 /include/linux/clocksource.h
parentLinux 4.6-rc2 (diff)
downloadlinux-dev-02fad5e9b433da3829d39f0afb3c51b4b6409ed5.tar.xz
linux-dev-02fad5e9b433da3829d39f0afb3c51b4b6409ed5.zip
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. 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>
Diffstat (limited to 'include/linux/clocksource.h')
-rw-r--r--include/linux/clocksource.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/clocksource.h b/include/linux/clocksource.h
index a307bf62974f..44a1aff22566 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>