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-Tag: v4.5-rc1~138^2~17^2~30 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=8cdb654abe5730654d0385382c4e877a011bb8c8;p=karo-tx-linux.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, };