Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f95a9857 authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by John Stultz
Browse files

time/jiffies: Make clocksource_jiffies static



Commit f1b82746 ("clocksource: Cleanup clocksource selection") removed all
external references to clocksource_jiffies so there is no need to have the
symbol globally visible.

Fixes the following sparse warning:
  CHECK   kernel/time/jiffies.c kernel/time/jiffies.c:61:20: warning: symbol 'clocksource_jiffies' was not declared. Should it be static?

Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
parent 60e3bf14
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ static cycle_t jiffies_read(struct clocksource *cs)
	return (cycle_t) jiffies;
}

struct clocksource clocksource_jiffies = {
static struct clocksource clocksource_jiffies = {
	.name		= "jiffies",
	.rating		= 1, /* lowest valid rating*/
	.read		= jiffies_read,