summary refs log tree commit diff stats
path: root/hw/pci-bridge/xio3130_downstream.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/xio3130_downstream.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 '')
-rw-r--r--hw/pci-bridge/xio3130_downstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-bridge/xio3130_downstream.c b/hw/pci-bridge/xio3130_downstream.c
index 473e2dd950..92e5fb72ec 100644
--- a/hw/pci-bridge/xio3130_downstream.c
+++ b/hw/pci-bridge/xio3130_downstream.c
@@ -134,7 +134,7 @@ static void xio3130_downstream_exitfn(PCIDevice *d)
     pci_bridge_exitfn(d);
 }
 
-static Property xio3130_downstream_props[] = {
+static const Property xio3130_downstream_props[] = {
     DEFINE_PROP_BIT(COMPAT_PROP_PCP, PCIDevice, cap_present,
                     QEMU_PCIE_SLTCAP_PCP_BITNR, true),
     DEFINE_PROP_END_OF_LIST()