diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-11-23 19:19:33 (GMT) |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-11-23 19:23:37 (GMT) |
commit | 3b71e9e307b3406aa29960a7428247f8a48b810c (patch) | |
tree | fefc084d8930f5205bb05873b120066bb96f704d | |
parent | a1a00b58855ccdbedf556b4f5638d5208b454472 (diff) | |
download | linux-3b71e9e307b3406aa29960a7428247f8a48b810c.tar.xz |
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 067d8de..15fcaac 100644 --- a/arch/x86/kernel/hpet.c +++ b/arch/x86/kernel/hpet.c @@ -33,7 +33,7 @@ * HPET address is set in acpi/boot.c, when an ACPI entry exists */ unsigned long hpet_address; -unsigned long hpet_num_timers; +static unsigned long hpet_num_timers; static void __iomem *hpet_virt_address; struct hpet_dev { |