Skip to contentSkip to conversation

kernel/time/jiffies.c: local symbols should be static

PATCH New H Hartley Sweeten 1 participant 1 message Jun 10, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel/time/jiffies.c: local symbols should be static

The symbol 'clocksource_jiffies' is not used outside this file and should be marked static.

Cc Torben Hohn <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Lucas De Marchi <[email protected]>

---

kernel/time/jiffies.c +1 -1
index a470154..60e3ff7 100644
@@ -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,