hw/pci: Constify all Property

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2024-12-13 16:36:46 +00:00
parent 909a5c0afa
commit 8a1852f8c2
4 changed files with 5 additions and 5 deletions

View file

@ -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),