diff mbox

timekeeping: Fix missing clocksource.h include

Message ID 1405067350-31934-1-git-send-email-john.stultz@linaro.org
State New
Headers show

Commit Message

John Stultz July 11, 2014, 8:29 a.m. UTC
Fix the following compile issues:
In file included from kernel/time/timekeeping_debug.c:24:0:
kernel/time/timekeeping_internal.h:22:1: error: unknown type name ‘cycle_t’
kernel/time/timekeeping_internal.h:22:41: error: unknown type name ‘cycle_t’
kernel/time/timekeeping_internal.h:22:54: error: unknown type name ‘cycle_t’
kernel/time/timekeeping_internal.h:22:68: error: unknown type name ‘cycle_t’
make[2]: *** [kernel/time/timekeeping_debug.o] Error 1
make[1]: *** [kernel/time] Error 2
make: *** [kernel] Error 2

Signed-off-by: John Stultz <john.stultz@linaro.org>
---
 kernel/time/timekeeping_internal.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/kernel/time/timekeeping_internal.h b/kernel/time/timekeeping_internal.h
index b993b06..e08edee 100644
--- a/kernel/time/timekeeping_internal.h
+++ b/kernel/time/timekeeping_internal.h
@@ -4,6 +4,7 @@ 
  * timekeeping debug functions
  */
 #include <linux/time.h>
+#include <linux/clocksource.h>
 
 #ifdef CONFIG_DEBUG_FS
 extern void tk_debug_account_sleep_time(struct timespec64 *t);