summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2016-03-10 03:16:54 +0300
committerJohn Stultz <john.stultz@linaro.org>2016-04-22 21:38:56 +0300
commit02fad5e9b433da3829d39f0afb3c51b4b6409ed5 (patch)
tree00888affb843b9e78e0da7092dbf9c8cb208d2a6
parent9735a22799b9214d17d3c231fe377fc852f042e9 (diff)
downloadlinux-02fad5e9b433da3829d39f0afb3c51b4b6409ed5.tar.xz
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>
-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>