diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:02 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-29 11:17:30 +1100 |
commit | c559ba5720376e39a05c75e52e67d5998d2b1422 (patch) | |
tree | aea3700eb03415d74ae2a7467b9f16a7b64a4f89 /hw/acpi/pcihp.c | |
parent | d19630d20ce909e26b165b0db6cbeea8cd84bdb3 (diff) | |
download | qemu-c559ba5720376e39a05c75e52e67d5998d2b1422.zip qemu-c559ba5720376e39a05c75e52e67d5998d2b1422.tar.gz qemu-c559ba5720376e39a05c75e52e67d5998d2b1422.tar.bz2 |
hw/acpi: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-22-richard.henderson@linaro.org>
Diffstat (limited to 'hw/acpi/pcihp.c')
-rw-r--r-- | hw/acpi/pcihp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/acpi/pcihp.c b/hw/acpi/pcihp.c index 4f75c87..5f79c90 100644 --- a/hw/acpi/pcihp.c +++ b/hw/acpi/pcihp.c @@ -517,7 +517,7 @@ const VMStateDescription vmstate_acpi_pcihp_pci_status = { .name = "acpi_pcihp_pci_status", .version_id = 1, .minimum_version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT32(up, AcpiPciHpPciStatus), VMSTATE_UINT32(down, AcpiPciHpPciStatus), VMSTATE_END_OF_LIST() |