Skip to content

Commit

Permalink
timekeeping: __timekeeping_set_tai_offset can be static
Browse files Browse the repository at this point in the history
Yet again, the kbuild test robot saves the day, noting
I left out defining __timekeeping_set_tai_offset as
static. It even sent me this patch.

Reported-by: Fengguang Wu <[email protected]>
Signed-off-by: John Stultz <[email protected]>
  • Loading branch information
Fengguang Wu authored and johnstultz-work committed Mar 25, 2013
1 parent 9a7a71b commit dd5d70e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/time/timekeeping.c
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ s32 timekeeping_get_tai_offset(void)
* __timekeeping_set_tai_offset - Lock free worker function
*
*/
void __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset)
static void __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset)
{
tk->tai_offset = tai_offset;
tk->offs_tai = ktime_sub(tk->offs_real, ktime_set(tai_offset, 0));
Expand Down

0 comments on commit dd5d70e

Please sign in to comment.