aboutsummaryrefslogtreecommitdiff
path: root/hw/pci/pci.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.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.c')
-rw-r--r--hw/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci/pci.c b/hw/pci/pci.c
index bf0a184..9024848 100644
--- a/hw/pci/pci.c
+++ b/hw/pci/pci.c
@@ -81,7 +81,7 @@ static const PropertyInfo prop_pci_busnr = {
.get = prop_pci_busnr_get,
};
-static Property pci_props[] = {
+static const Property pci_props[] = {
DEFINE_PROP_PCI_DEVFN("addr", PCIDevice, devfn, -1),
DEFINE_PROP_STRING("romfile", PCIDevice, romfile),
DEFINE_PROP_UINT32("romsize", PCIDevice, romsize, UINT32_MAX),