summary refs log tree commit diff stats
path: root/hw/riscv/riscv-iommu-pci.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 16:43:40 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:56:03 -0600
commit766bade2da0f9b1338cbe72aea114cd0922acfc5 (patch)
treeee29a71fb6f2784202c8b767c1f173249954b215 /hw/riscv/riscv-iommu-pci.c
parent4ef4c30d2ef6d1dcfc58512e6ed273244dcd72cd (diff)
downloadfocaccia-qemu-766bade2da0f9b1338cbe72aea114cd0922acfc5.tar.gz
focaccia-qemu-766bade2da0f9b1338cbe72aea114cd0922acfc5.zip
hw/riscv: Constify all Property
Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/riscv/riscv-iommu-pci.c')
-rw-r--r--hw/riscv/riscv-iommu-pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/riscv/riscv-iommu-pci.c b/hw/riscv/riscv-iommu-pci.c
index a42242532d..a695314bbe 100644
--- a/hw/riscv/riscv-iommu-pci.c
+++ b/hw/riscv/riscv-iommu-pci.c
@@ -157,7 +157,7 @@ static void riscv_iommu_pci_init(Object *obj)
     iommu->icvec_avail_vectors = RISCV_IOMMU_PCI_ICVEC_VECTORS;
 }
 
-static Property riscv_iommu_pci_properties[] = {
+static const Property riscv_iommu_pci_properties[] = {
     DEFINE_PROP_UINT16("vendor-id", RISCVIOMMUStatePci, vendor_id,
                        PCI_VENDOR_ID_REDHAT),
     DEFINE_PROP_UINT16("device-id", RISCVIOMMUStatePci, device_id,