Commit e8750053 authored by Valdis Kletnieks's avatar Valdis Kletnieks Committed by Thomas Gleixner

time/jiffies: Make refined_jiffies static

sparse complains:

  CHECK   kernel/time/jiffies.c
kernel/time/jiffies.c:92:20: warning: symbol 'refined_jiffies' was not
			     	      declared. Should it be static?

Its only used in file scope. Make it static.
Signed-off-by: default avatarValdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/32342.1552379915@turing-police
parent 9e98c678
...@@ -89,7 +89,7 @@ struct clocksource * __init __weak clocksource_default_clock(void) ...@@ -89,7 +89,7 @@ struct clocksource * __init __weak clocksource_default_clock(void)
return &clocksource_jiffies; return &clocksource_jiffies;
} }
struct clocksource refined_jiffies; static struct clocksource refined_jiffies;
int register_refined_jiffies(long cycles_per_second) int register_refined_jiffies(long cycles_per_second)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment