* [PATCH] kernel/time/jiffies.c: don't expose clocksource_jiffies globably
@ 2012-03-21 18:59 H Hartley Sweeten
0 siblings, 0 replies; only message in thread
From: H Hartley Sweeten @ 2012-03-21 18:59 UTC (permalink / raw)
To: Linux Kernel; +Cc: lucas.demarchi
The symbol clocksource_jiffies is only used in this file. Mark it static.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Lucas De Marchi <lucas.demarchi@profusion.mobi>
---
diff --git a/kernel/time/jiffies.c b/kernel/time/jiffies.c
index a470154..60e3ff7 100644
--- a/kernel/time/jiffies.c
+++ b/kernel/time/jiffies.c
@@ -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,
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-03-21 18:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-21 18:59 [PATCH] kernel/time/jiffies.c: don't expose clocksource_jiffies globably H Hartley Sweeten
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox