summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel/hpet.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2008-11-23 20:19:33 +0100
committerIngo Molnar <mingo@elte.hu>2008-11-23 20:23:37 +0100
commit3b71e9e307b3406aa29960a7428247f8a48b810c (patch)
treefefc084d8930f5205bb05873b120066bb96f704d /arch/x86/kernel/hpet.c
parenta1a00b58855ccdbedf556b4f5638d5208b454472 (diff)
downloadop-kernel-dev-3b71e9e307b3406aa29960a7428247f8a48b810c.zip
op-kernel-dev-3b71e9e307b3406aa29960a7428247f8a48b810c.tar.gz
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>
Diffstat (limited to 'arch/x86/kernel/hpet.c')
-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 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 {
OpenPOWER on IntegriCloud