diff options
-rw-r--r-- | arch/x86/kvm/i8254.c | 2 | ||||
-rw-r--r-- | arch/x86/kvm/lapic.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kvm/i8254.c b/arch/x86/kvm/i8254.c index 4e2e3f26dbf8..cf09bb64f141 100644 --- a/arch/x86/kvm/i8254.c +++ b/arch/x86/kvm/i8254.c | |||
@@ -265,7 +265,7 @@ static bool kpit_is_periodic(struct kvm_timer *ktimer) | |||
265 | return ps->is_periodic; | 265 | return ps->is_periodic; |
266 | } | 266 | } |
267 | 267 | ||
268 | struct kvm_timer_ops kpit_ops = { | 268 | static struct kvm_timer_ops kpit_ops = { |
269 | .is_periodic = kpit_is_periodic, | 269 | .is_periodic = kpit_is_periodic, |
270 | }; | 270 | }; |
271 | 271 | ||
diff --git a/arch/x86/kvm/lapic.c b/arch/x86/kvm/lapic.c index dd934d27040f..4d76bb6c5e51 100644 --- a/arch/x86/kvm/lapic.c +++ b/arch/x86/kvm/lapic.c | |||
@@ -913,7 +913,7 @@ void kvm_apic_nmi_wd_deliver(struct kvm_vcpu *vcpu) | |||
913 | kvm_apic_local_deliver(apic, APIC_LVT0); | 913 | kvm_apic_local_deliver(apic, APIC_LVT0); |
914 | } | 914 | } |
915 | 915 | ||
916 | struct kvm_timer_ops lapic_timer_ops = { | 916 | static struct kvm_timer_ops lapic_timer_ops = { |
917 | .is_periodic = lapic_is_periodic, | 917 | .is_periodic = lapic_is_periodic, |
918 | }; | 918 | }; |
919 | 919 | ||