summaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorRashika Kheria2014-02-27 12:55:54 +0100
committerJohn Stultz2014-03-03 05:52:58 +0100
commit64e8d20bd39b81994d9cd60e7b42f8ec8652f5af (patch)
treed229f506e9b2dd3e67a0f8315418b8766eac3f29 /kernel/time
parenttimerfd: support CLOCK_BOOTTIME clock (diff)
downloadkernel-qcow2-linux-64e8d20bd39b81994d9cd60e7b42f8ec8652f5af.tar.gz
kernel-qcow2-linux-64e8d20bd39b81994d9cd60e7b42f8ec8652f5af.tar.xz
kernel-qcow2-linux-64e8d20bd39b81994d9cd60e7b42f8ec8652f5af.zip
kernel: Include appropriate header file in time/timekeeping_debug.c
Include appropriate header file kernel/time/timekeeping_internal.h in kernel/time/timekeeping_debug.c because it has prototype declaration of function defined in kernel/time/timekeeping_debug.c. This eliminates the following warning in kernel/time/timekeeping_debug.c: kernel/time/timekeeping_debug.c:68:6: warning: no previous prototype for ‘tk_debug_account_sleep_time’ [-Wmissing-prototypes] Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel/time')
-rw-r--r--kernel/time/timekeeping_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/time/timekeeping_debug.c b/kernel/time/timekeeping_debug.c
index 802433a4f5eb..4d54f97558df 100644
--- a/kernel/time/timekeeping_debug.c
+++ b/kernel/time/timekeeping_debug.c
@@ -21,6 +21,8 @@
#include <linux/seq_file.h>
#include <linux/time.h>
+#include "timekeeping_internal.h"
+
static unsigned int sleep_time_bin[32] = {0};
static int tk_debug_show_sleep_time(struct seq_file *s, void *data)