diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 15:31:19 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:54:51 -0600 |
| commit | d432edd56c270d3b7322d85489bd45116bd7e2e2 (patch) | |
| tree | 83c351ad7e7082d5a5a51147252628a3de2ee73b /hw/display/virtio-gpu-gl.c | |
| parent | 2a3f565c529088df051f3cf1d34f6389626af261 (diff) | |
| download | focaccia-qemu-d432edd56c270d3b7322d85489bd45116bd7e2e2.tar.gz focaccia-qemu-d432edd56c270d3b7322d85489bd45116bd7e2e2.zip | |
hw/display: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/display/virtio-gpu-gl.c')
| -rw-r--r-- | hw/display/virtio-gpu-gl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/virtio-gpu-gl.c b/hw/display/virtio-gpu-gl.c index 7c0e448b46..6f31149e1e 100644 --- a/hw/display/virtio-gpu-gl.c +++ b/hw/display/virtio-gpu-gl.c @@ -154,7 +154,7 @@ static void virtio_gpu_gl_device_realize(DeviceState *qdev, Error **errp) virtio_gpu_device_realize(qdev, errp); } -static Property virtio_gpu_gl_properties[] = { +static const Property virtio_gpu_gl_properties[] = { DEFINE_PROP_BIT("stats", VirtIOGPU, parent_obj.conf.flags, VIRTIO_GPU_FLAG_STATS_ENABLED, false), DEFINE_PROP_BIT("venus", VirtIOGPU, parent_obj.conf.flags, |