projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f9499a
)
KVM: arm/arm64: vgic: make vgic_io_ops static
author
Jisheng Zhang
<jszhang@marvell.com>
Thu, 12 Nov 2015 11:59:14 +0000
(19:59 +0800)
committer
Marc Zyngier
<marc.zyngier@arm.com>
Mon, 14 Dec 2015 11:29:59 +0000
(11:29 +0000)
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>
virt/kvm/arm/vgic.c
patch
|
blob
|
history
diff --git
a/virt/kvm/arm/vgic.c
b/virt/kvm/arm/vgic.c
index
65461f8
..
0c739a7
100644
(file)
--- 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 = {
+st
atic st
ruct kvm_io_device_ops vgic_io_ops = {
.read = vgic_handle_mmio_read,
.write = vgic_handle_mmio_write,
};