aboutsummaryrefslogtreecommitdiff
path: root/hw/loongarch
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:19 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-29 11:17:30 +1100
commitaa4941bbaa8ff6aa2496713d32b88176f30890b1 (patch)
tree68e33e96588d7f1386b298336266675f9fb065ff /hw/loongarch
parentcbf195061cfe1808b4a7f3f5ae570e3d926195ea (diff)
downloadqemu-aa4941bbaa8ff6aa2496713d32b88176f30890b1.zip
qemu-aa4941bbaa8ff6aa2496713d32b88176f30890b1.tar.gz
qemu-aa4941bbaa8ff6aa2496713d32b88176f30890b1.tar.bz2
hw/loongarch: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Song Gao <gaosong@loongson.cn> Message-Id: <20231221031652.119827-39-richard.henderson@linaro.org>
Diffstat (limited to 'hw/loongarch')
-rw-r--r--hw/loongarch/acpi-build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/loongarch/acpi-build.c b/hw/loongarch/acpi-build.c
index ae292fc..730bc4a 100644
--- a/hw/loongarch/acpi-build.c
+++ b/hw/loongarch/acpi-build.c
@@ -564,7 +564,7 @@ static const VMStateDescription vmstate_acpi_build = {
.name = "acpi_build",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT8(patched, AcpiBuildState),
VMSTATE_END_OF_LIST()
},