summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2013-03-25 20:24:24 +0100
committerJohn Stultz <john.stultz@linaro.org>2013-03-25 20:24:24 +0100
commitdd5d70e869f960bde6376f4447fff59f16186cf5 (patch)
treea19b33175769a9f9d03d27338577254d222baab1 /kernel
parenttimekeeping: Split timekeeper_lock into lock and seqcount (diff)
downloadlinux-dd5d70e869f960bde6376f4447fff59f16186cf5.tar.xz
linux-dd5d70e869f960bde6376f4447fff59f16186cf5.zip
timekeeping: __timekeeping_set_tai_offset can be static
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 <fengguang.wu@intel.com> Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/time/timekeeping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c
index 5e048e030c62..c5feb7aa3acb 100644
--- a/kernel/time/timekeeping.c
+++ b/kernel/time/timekeeping.c
@@ -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));