From: Jisheng Zhang Date: Thu, 12 Nov 2015 11:59:14 +0000 (+0800) Subject: KVM: arm/arm64: vgic: make vgic_io_ops static X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8cdb654abe5730654d0385382c4e877a011bb8c8;p=openwrt%2Fstaging%2Fblogic.git KVM: arm/arm64: vgic: make vgic_io_ops static vgic_io_ops is only referenced within vgic.c, so it can be declared static. Signed-off-by: Jisheng Zhang Signed-off-by: Christoffer Dall --- diff --git a/virt/kvm/arm/vgic.c b/virt/kvm/arm/vgic.c index 65461f821a75..0c739a7f40cd 100644 --- a/virt/kvm/arm/vgic.c +++ b/virt/kvm/arm/vgic.c @@ -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, };