Revert "FROMGIT: KVM: arm64: Constify kvm_io_gic_ops"

This reverts commit 8aefe3af04.

Bug: 233587962
Signed-off-by: Will Deacon <willdeacon@google.com>
Change-Id: If8629e1aef52d058b2e9047bcd37fb550e3beeae
This commit is contained in:
Will Deacon
2022-07-07 15:52:10 +01:00
parent 6765ec5681
commit af44bbb4f2
2 changed files with 2 additions and 2 deletions

View File

@@ -1065,7 +1065,7 @@ static int dispatch_mmio_write(struct kvm_vcpu *vcpu, struct kvm_io_device *dev,
return 0;
}
const struct kvm_io_device_ops kvm_io_gic_ops = {
struct kvm_io_device_ops kvm_io_gic_ops = {
.read = dispatch_mmio_read,
.write = dispatch_mmio_write,
};

View File

@@ -34,7 +34,7 @@ struct vgic_register_region {
};
};
extern const struct kvm_io_device_ops kvm_io_gic_ops;
extern struct kvm_io_device_ops kvm_io_gic_ops;
#define VGIC_ACCESS_8bit 1
#define VGIC_ACCESS_32bit 2