diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 16:36:46 +0000 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:55:56 -0600 |
commit | 8a1852f8c20c444b8869478bf6411e3d0befc37b (patch) | |
tree | 5bc827c8faaed068d057d6fc993d1a164e542651 /hw/pci/pci.c | |
parent | 909a5c0afa1dd52e8145716fc36d12ba6b74721f (diff) | |
download | qemu-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.c | 2 |
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), |