KVM: arm/arm64: vgic: make vgic_io_ops static
authorJisheng Zhang <jszhang@marvell.com>
Thu, 12 Nov 2015 11:59:14 +0000 (19:59 +0800)
committerMarc Zyngier <marc.zyngier@arm.com>
Mon, 14 Dec 2015 11:29:59 +0000 (11:29 +0000)
vgic_io_ops is only referenced within vgic.c, so it can be declared
static.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic.c

index 65461f8..0c739a7 100644 (file)
@@ -878,7 +878,7 @@ static int vgic_handle_mmio_write(struct kvm_vcpu *vcpu,
                                       true);
 }
 
-struct kvm_io_device_ops vgic_io_ops = {
+static struct kvm_io_device_ops vgic_io_ops = {
        .read   = vgic_handle_mmio_read,
        .write  = vgic_handle_mmio_write,
 };