summary refs log tree commit diff stats
path: root/hw/pci-bridge/pci_bridge_dev.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/pci_bridge_dev.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/pci_bridge_dev.c')
-rw-r--r--hw/pci-bridge/pci_bridge_dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-bridge/pci_bridge_dev.c b/hw/pci-bridge/pci_bridge_dev.c
index 8e7f926621..35a37e056a 100644
--- a/hw/pci-bridge/pci_bridge_dev.c
+++ b/hw/pci-bridge/pci_bridge_dev.c
@@ -168,7 +168,7 @@ static void qdev_pci_bridge_dev_reset(DeviceState *qdev)
     }
 }
 
-static Property pci_bridge_dev_properties[] = {
+static const Property pci_bridge_dev_properties[] = {
                     /* Note: 0 is not a legal chassis number. */
     DEFINE_PROP_UINT8(PCI_BRIDGE_DEV_PROP_CHASSIS_NR, PCIBridgeDev, chassis_nr,
                       0),