aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/i8254.c
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-03-10 17:51:09 -0400
committerAvi Kivity <avi@redhat.com>2009-06-10 04:48:29 -0400
commit386eb6e8b3caface8a0514da70a47c05cabb5b96 (patch)
tree6af78c17e8b8928ff999adbf93406dac28e998ff /arch/x86/kvm/i8254.c
parent0b5d7a2ccb98f0403b1969295429724af9dc9d8e (diff)
KVM: make 'lapic_timer_ops' and 'kpit_ops' static
Fix this sparse warnings: arch/x86/kvm/lapic.c:916:22: warning: symbol 'lapic_timer_ops' was not declared. Should it be static? arch/x86/kvm/i8254.c:268:22: warning: symbol 'kpit_ops' was not declared. Should it be static? Signed-off-by: Hannes Eder <hannes@hanneseder.net> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/i8254.c')
-rw-r--r--arch/x86/kvm/i8254.c2
1 files changed, 1 insertions, 1 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
268struct kvm_timer_ops kpit_ops = { 268static struct kvm_timer_ops kpit_ops = {
269 .is_periodic = kpit_is_periodic, 269 .is_periodic = kpit_is_periodic,
270}; 270};
271 271