summary refs log tree commit diff stats
path: root/hw/pci-bridge/gen_pcie_root_port.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 16:32:51 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:55:51 -0600
commit196fd15f31d986e5a9c5da84988fa4597f30623b (patch)
tree42ff4c60821284b2ad5ed87330e853f2718fd4c4 /hw/pci-bridge/gen_pcie_root_port.c
parent2839136833257542704695be10b19c77c927acc4 (diff)
downloadfocaccia-qemu-196fd15f31d986e5a9c5da84988fa4597f30623b.tar.gz
focaccia-qemu-196fd15f31d986e5a9c5da84988fa4597f30623b.zip
hw/pci-bridge: Constify all Property
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/pci-bridge/gen_pcie_root_port.c')
-rw-r--r--hw/pci-bridge/gen_pcie_root_port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-bridge/gen_pcie_root_port.c b/hw/pci-bridge/gen_pcie_root_port.c
index 784507c826..c319ca8263 100644
--- a/hw/pci-bridge/gen_pcie_root_port.c
+++ b/hw/pci-bridge/gen_pcie_root_port.c
@@ -128,7 +128,7 @@ static const VMStateDescription vmstate_rp_dev = {
     }
 };
 
-static Property gen_rp_props[] = {
+static const Property gen_rp_props[] = {
     DEFINE_PROP_BOOL("x-migrate-msix", GenPCIERootPort,
                      migrate_msix, true),
     DEFINE_PROP_UINT32("bus-reserve", GenPCIERootPort,