diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2024-12-13 16:35:23 +0000 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2024-12-15 12:55:54 -0600 |
| commit | 909a5c0afa1dd52e8145716fc36d12ba6b74721f (patch) | |
| tree | 4248ee972087bc819f2706fdc0e483dc573aa53d /hw/pci-host/q35.c | |
| parent | 196fd15f31d986e5a9c5da84988fa4597f30623b (diff) | |
| download | focaccia-qemu-909a5c0afa1dd52e8145716fc36d12ba6b74721f.tar.gz focaccia-qemu-909a5c0afa1dd52e8145716fc36d12ba6b74721f.zip | |
hw/pci-host: 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-host/q35.c')
| -rw-r--r-- | hw/pci-host/q35.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pci-host/q35.c b/hw/pci-host/q35.c index f3e713318e..af0b77ea1e 100644 --- a/hw/pci-host/q35.c +++ b/hw/pci-host/q35.c @@ -170,7 +170,7 @@ static void q35_host_get_pci_hole64_end(Object *obj, Visitor *v, * properties need to be initialized manually by * q35_host_initfn() after the object_initialize() call. */ -static Property q35_host_props[] = { +static const Property q35_host_props[] = { DEFINE_PROP_UINT64(PCIE_HOST_MCFG_BASE, Q35PCIHost, parent_obj.base_addr, MCH_HOST_BRIDGE_PCIEXBAR_DEFAULT), DEFINE_PROP_SIZE(PCI_HOST_PROP_PCI_HOLE64_SIZE, Q35PCIHost, @@ -662,7 +662,7 @@ static void mch_realize(PCIDevice *d, Error **errp) OBJECT(&mch->smram)); } -static Property mch_props[] = { +static const Property mch_props[] = { DEFINE_PROP_UINT16("extended-tseg-mbytes", MCHPCIState, ext_tseg_mbytes, 16), DEFINE_PROP_BOOL("smbase-smram", MCHPCIState, has_smram_at_smbase, true), |