[<prev] [next>] [day] [month] [year] [list]
Message-ID: <201106101443.31588.hartleys@visionengravers.com>
Date: Fri, 10 Jun 2011 14:43:31 -0700
From: H Hartley Sweeten <hartleys@...ionengravers.com>
To: Linux Kernel <linux-kernel@...r.kernel.org>
CC: <torbenh@....de>, <tglx@...utronix.de>,
<lucas.demarchi@...fusion.mobi>
Subject: [PATCH] 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 <hsweeten@...ionengravers.com>
Cc: Torben Hohn <torbenh@....de>
Cc: Thomas Gleixner <tglx@...utronix.de>
Cc: Lucas De Marchi <lucas.demarchi@...fusion.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,
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists