summaryrefslogtreecommitdiffstats
path: root/kernel/time
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@movial.com>2009-05-01 13:10:21 -0700
committerThomas Gleixner <tglx@linutronix.de>2009-05-02 10:31:14 +0200
commita52f5c5620673c292cb159205bf0e1eb5af1985b (patch)
treeda1a57306d54bd832b3b0d656671daf27871f3e3 /kernel/time
parent091438dd5668396328a3419abcbc6591159eb8d1 (diff)
downloadlinux-a52f5c5620673c292cb159205bf0e1eb5af1985b.tar.gz
linux-a52f5c5620673c292cb159205bf0e1eb5af1985b.tar.bz2
linux-a52f5c5620673c292cb159205bf0e1eb5af1985b.zip
clockevents: tick_broadcast_device can become static
The variable tick_broadcast_device is not used outside of the file where it is defined, so let's make it static. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/time')
-rw-r--r--kernel/time/tick-broadcast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c
index 118a3b3b3f9a..877dbedc3118 100644
--- a/kernel/time/tick-broadcast.c
+++ b/kernel/time/tick-broadcast.c
@@ -27,7 +27,7 @@
* timer stops in C3 state.
*/
-struct tick_device tick_broadcast_device;
+static struct tick_device tick_broadcast_device;
/* FIXME: Use cpumask_var_t. */
static DECLARE_BITMAP(tick_broadcast_mask, NR_CPUS);
static DECLARE_BITMAP(tmpmask, NR_CPUS);