Re: [PATCH] x86: pit_clockevent can be static

2008-02-16 Thread Thomas Gleixner
On Tue, 12 Feb 2008, Harvey Harrison wrote:

> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] x86: pit_clockevent can be static

2008-02-16 Thread Thomas Gleixner
On Tue, 12 Feb 2008, Harvey Harrison wrote:

 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
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] x86: pit_clockevent can be static

2008-02-13 Thread Ingo Molnar

* Harvey Harrison <[EMAIL PROTECTED]> wrote:

> arch/x86/kernel/i8253.c:98:27: warning: symbol 'pit_clockevent' was 
> not declared. Should it be static?

yeah. Thanks Harvey, applied.

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] x86: pit_clockevent can be static

2008-02-13 Thread Ingo Molnar

* Harvey Harrison [EMAIL PROTECTED] wrote:

 arch/x86/kernel/i8253.c:98:27: warning: symbol 'pit_clockevent' was 
 not declared. Should it be static?

yeah. Thanks Harvey, applied.

Ingo
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] x86: pit_clockevent can be static

2008-02-12 Thread 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]>
---
 arch/x86/kernel/i8253.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/i8253.c b/arch/x86/kernel/i8253.c
index ef62b07..8540abe 100644
--- a/arch/x86/kernel/i8253.c
+++ b/arch/x86/kernel/i8253.c
@@ -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,
-- 
1.5.4.1.1278.gc75be


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] x86: pit_clockevent can be static

2008-02-12 Thread 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]
---
 arch/x86/kernel/i8253.c |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/i8253.c b/arch/x86/kernel/i8253.c
index ef62b07..8540abe 100644
--- a/arch/x86/kernel/i8253.c
+++ b/arch/x86/kernel/i8253.c
@@ -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,
-- 
1.5.4.1.1278.gc75be


--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/