mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
a1a00b5885
commit
3b71e9e307
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue