diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-05-10 10:22:42 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-06-04 11:53:43 +0200 |
commit | 61d993d4babf3b8bce3b01f69be10f470a006d08 (patch) | |
tree | 1ba0f18e3e5dd1d6926cf898bb9e19b53ff416db /hw/xen | |
parent | a5bdc451c7d10056acd9b49f6028895451b37df5 (diff) | |
download | qemu-61d993d4babf3b8bce3b01f69be10f470a006d08.zip qemu-61d993d4babf3b8bce3b01f69be10f470a006d08.tar.gz qemu-61d993d4babf3b8bce3b01f69be10f470a006d08.tar.bz2 |
hw/xen: Constify XenLegacyDevice::XenDevOps
XenDevOps @ops is not updated, mark it const.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Paul Durrant <paul@xen.org>
Message-Id: <20240510104908.76908-3-philmd@linaro.org>
Diffstat (limited to 'hw/xen')
-rw-r--r-- | hw/xen/xen-legacy-backend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/xen/xen-legacy-backend.c b/hw/xen/xen-legacy-backend.c index 6f0b300..33620fe 100644 --- a/hw/xen/xen-legacy-backend.c +++ b/hw/xen/xen-legacy-backend.c @@ -170,7 +170,7 @@ int xen_be_copy_grant_refs(struct XenLegacyDevice *xendev, */ static struct XenLegacyDevice *xen_be_get_xendev(const char *type, int dom, int dev, - struct XenDevOps *ops) + const struct XenDevOps *ops) { struct XenLegacyDevice *xendev; |