Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3b71e9e3 authored by Hannes Eder's avatar Hannes Eder Committed by Ingo Molnar
Browse files

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: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent a1a00b58
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {