aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-11-23 14:19:33 -0500
committerIngo Molnar <mingo@elte.hu>2008-11-23 14:23:37 -0500
commit3b71e9e307b3406aa29960a7428247f8a48b810c (patch)
treefefc084d8930f5205bb05873b120066bb96f704d
parenta1a00b58855ccdbedf556b4f5638d5208b454472 (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.c2
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 */
35unsigned long hpet_address; 35unsigned long hpet_address;
36unsigned long hpet_num_timers; 36static unsigned long hpet_num_timers;
37static void __iomem *hpet_virt_address; 37static void __iomem *hpet_virt_address;
38 38
39struct hpet_dev { 39struct hpet_dev {