aboutsummaryrefslogtreecommitdiff
path: root/hw/pci/pci_bridge.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2024-12-13 16:36:46 +0000
committerRichard Henderson <richard.henderson@linaro.org>2024-12-15 12:55:56 -0600
commit8a1852f8c20c444b8869478bf6411e3d0befc37b (patch)
tree5bc827c8faaed068d057d6fc993d1a164e542651 /hw/pci/pci_bridge.c
parent909a5c0afa1dd52e8145716fc36d12ba6b74721f (diff)
downloadqemu-8a1852f8c20c444b8869478bf6411e3d0befc37b.zip
qemu-8a1852f8c20c444b8869478bf6411e3d0befc37b.tar.gz
qemu-8a1852f8c20c444b8869478bf6411e3d0befc37b.tar.bz2
hw/pci: 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/pci_bridge.c')
-rw-r--r--hw/pci/pci_bridge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci/pci_bridge.c b/hw/pci/pci_bridge.c
index 2c7bb1a..dd4fd36 100644
--- a/hw/pci/pci_bridge.c
+++ b/hw/pci/pci_bridge.c
@@ -477,7 +477,7 @@ int pci_bridge_qemu_reserve_cap_init(PCIDevice *dev, int cap_offset,
return 0;
}
-static Property pci_bridge_properties[] = {
+static const Property pci_bridge_properties[] = {
DEFINE_PROP_BOOL("x-pci-express-writeable-slt-bug", PCIBridge,
pcie_writeable_slt_bug, false),
DEFINE_PROP_END_OF_LIST(),