]> git.karo-electronics.de Git - linux-beck.git/commitdiff
kernel: Include appropriate header file in time/timekeeping_debug.c
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 27 Feb 2014 11:55:54 +0000 (17:25 +0530)
committerJohn Stultz <john.stultz@linaro.org>
Mon, 3 Mar 2014 04:52:58 +0000 (20:52 -0800)
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>
kernel/time/timekeeping_debug.c

index 802433a4f5eb7a6b73fa0442d44bf7f196ad6f9b..4d54f97558df8ca830ed4b4f38e847e6d7a72878 100644 (file)
@@ -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)