diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2014-02-27 17:25:54 +0530 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2014-03-02 20:52:58 -0800 |
commit | 64e8d20bd39b81994d9cd60e7b42f8ec8652f5af (patch) | |
tree | d229f506e9b2dd3e67a0f8315418b8766eac3f29 /kernel/time | |
parent | 4a2378a943f09907fb1ae35c15de917f60289c14 (diff) | |
download | linux-stable-64e8d20bd39b81994d9cd60e7b42f8ec8652f5af.tar.gz linux-stable-64e8d20bd39b81994d9cd60e7b42f8ec8652f5af.tar.bz2 linux-stable-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.c | 2 |
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) |