x86: pit_clockevent can be static
PATCH 1/1 x86: pit_clockevent can be static
arch/x86/kernel/i8253.c:98:27: warning: symbol 'pit_clockevent' was not declared. Should it be static?
Signed-off-by Harvey Harrison <[email protected]>
--- arch/x86/kernel/i8253.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kernel/i8253.c +1 -1
@@ -95,7 +95,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,
Signature · 1 line
1.5.4.1.1278.gc75be
Quoted 2 lines · Harvey Harrison
arch/x86/kernel/i8253.c:98:27: warning: symbol 'pit_clockevent' was not declared. Should it be static?
yeah. Thanks Harvey, applied.
Ingo
Thomas Gleixner
AppliedQuoted 3 lines · Harvey Harrison
arch/x86/kernel/i8253.c:98:27: warning: symbol 'pit_clockevent' was not declared. Should it be static?Signed-off-by Harvey Harrison <[email protected]>
Applied. Thanks,
tglx