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 <jszhang@marvell.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
This commit is contained in:
parent
9f9499ae8e
commit
8cdb654abe
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user