diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-11-23 14:19:33 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-23 14:23:37 -0500 |
commit | 3b71e9e307b3406aa29960a7428247f8a48b810c (patch) | |
tree | fefc084d8930f5205bb05873b120066bb96f704d | |
parent | a1a00b58855ccdbedf556b4f5638d5208b454472 (diff) |
x86: HPET: fix sparse warning
Impact: make global variable static
Fix this sparse warning:
arch/x86/kernel/hpet.c:36:18: warning: symbol 'hpet_num_timers' was
not declared. Should it be static?
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
-rw-r--r-- | arch/x86/kernel/hpet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kernel/hpet.c b/arch/x86/kernel/hpet.c index 067d8de913f6..15fcaacc1f84 100644 --- a/arch/x86/kernel/hpet.c +++ b/arch/x86/kernel/hpet.c | |||
@@ -33,7 +33,7 @@ | |||
33 | * HPET address is set in acpi/boot.c, when an ACPI entry exists | 33 | * HPET address is set in acpi/boot.c, when an ACPI entry exists |
34 | */ | 34 | */ |
35 | unsigned long hpet_address; | 35 | unsigned long hpet_address; |
36 | unsigned long hpet_num_timers; | 36 | static unsigned long hpet_num_timers; |
37 | static void __iomem *hpet_virt_address; | 37 | static void __iomem *hpet_virt_address; |
38 | 38 | ||
39 | struct hpet_dev { | 39 | struct hpet_dev { |