Commit 8cdb654a authored by Jisheng Zhang's avatar Jisheng Zhang Committed by Marc Zyngier

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: default avatarJisheng Zhang <jszhang@marvell.com>
Signed-off-by: default avatarChristoffer Dall <christoffer.dall@linaro.org>
parent 9f9499ae
...@@ -878,7 +878,7 @@ static int vgic_handle_mmio_write(struct kvm_vcpu *vcpu, ...@@ -878,7 +878,7 @@ static int vgic_handle_mmio_write(struct kvm_vcpu *vcpu,
true); true);
} }
struct kvm_io_device_ops vgic_io_ops = { static struct kvm_io_device_ops vgic_io_ops = {
.read = vgic_handle_mmio_read, .read = vgic_handle_mmio_read,
.write = vgic_handle_mmio_write, .write = vgic_handle_mmio_write,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment