提交 dd5d70e8 编写于 作者: F Fengguang Wu 提交者: John Stultz

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: NFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: NJohn Stultz <john.stultz@linaro.org>
上级 9a7a71b1
......@@ -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));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册