From: Dmitri Vorobiev Date: Wed, 18 Jun 2008 07:18:19 +0000 (+0300) Subject: [MIPS] i8253: make the pit_clockevent variable static X-Git-Tag: v2.6.27-rc1~1063^2~39 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1ea6428cbdbb0fd1a6e7e8c3044253eab9aff4c7;p=linux-2.6-omap-h63xx.git [MIPS] i8253: make the pit_clockevent variable static The pit_clockevent symbol is needlessly defined global. This patch makes that variable static. Spotted by sparse. Compile-tested using Malta defconfig. Signed-off-by: Dmitri Vorobiev Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/kernel/i8253.c b/arch/mips/kernel/i8253.c index 38fa1a194bf..b6ac55162b9 100644 --- a/arch/mips/kernel/i8253.c +++ b/arch/mips/kernel/i8253.c @@ -80,7 +80,7 @@ static int pit_next_event(unsigned long delta, struct clock_event_device *evt) * registered. This mechanism replaces the previous #ifdef LOCAL_APIC - * !using_apic_timer decisions in do_timer_interrupt_hook() */ -struct clock_event_device pit_clockevent = { +static struct clock_event_device pit_clockevent = { .name = "pit", .features = CLOCK_EVT_FEAT_PERIODIC | CLOCK_EVT_FEAT_ONESHOT, .set_mode = init_pit_timer,