kernel/time/jiffies.c: local symbols should be static
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.
Signed-off-by H Hartley Sweeten <[email protected]>
Cc Torben Hohn <[email protected]>
Cc Thomas Gleixner <[email protected]>
Cc Lucas De Marchi <[email protected]>
---
kernel/time/jiffies.c +1 -1
@@ -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,