提交 8cdb654a 编写于 作者: J Jisheng Zhang 提交者: 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: NJisheng Zhang <jszhang@marvell.com>
Signed-off-by: NChristoffer Dall <christoffer.dall@linaro.org>
上级 9f9499ae
......@@ -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,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册