summary refs log tree commit diff stats
path: root/hw/virtio/vhost-user-rng-pci.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 17:29:25 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:56:40 -0600
commit1577a9180f374cd8bca32f8a5e8c8ac8977d7199 (patch)
treefd3b39c6df65f97469e7c057d281550851038008 /hw/virtio/vhost-user-rng-pci.c
parentd3eb6f73e14c6ba413be0a3c658882782aa93eac (diff)
downloadfocaccia-qemu-1577a9180f374cd8bca32f8a5e8c8ac8977d7199.tar.gz
focaccia-qemu-1577a9180f374cd8bca32f8a5e8c8ac8977d7199.zip
hw/virtio: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/virtio/vhost-user-rng-pci.c')
-rw-r--r--hw/virtio/vhost-user-rng-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio/vhost-user-rng-pci.c b/hw/virtio/vhost-user-rng-pci.c
index f64935453b..0016ee74ce 100644
--- a/hw/virtio/vhost-user-rng-pci.c
+++ b/hw/virtio/vhost-user-rng-pci.c
@@ -23,7 +23,7 @@ typedef struct VHostUserRNGPCI VHostUserRNGPCI;
 DECLARE_INSTANCE_CHECKER(VHostUserRNGPCI, VHOST_USER_RNG_PCI,
                          TYPE_VHOST_USER_RNG_PCI)
 
-static Property vhost_user_rng_pci_properties[] = {
+static const Property vhost_user_rng_pci_properties[] = {
     DEFINE_PROP_UINT32("vectors", VirtIOPCIProxy, nvectors,
                        DEV_NVECTORS_UNSPECIFIED),
     DEFINE_PROP_END_OF_LIST(),