Skip to content

Commit

Permalink
kernel: Include appropriate header file in time/timekeeping_debug.c
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Signed-off-by: John Stultz <[email protected]>
  • Loading branch information
rashika authored and johnstultz-work committed Mar 3, 2014
1 parent 4a2378a commit 64e8d20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kernel/time/timekeeping_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 64e8d20

Please sign in to comment.