summary refs log tree commit diff stats
path: root/hw/timer/allwinner-a10-pit.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:37 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-30 07:38:06 +1100
commitba324b3fb40ac2ce621b97d6c2345d640fd26acb (patch)
tree24e537e988bca3d1189b5e8c0d4f74c1868709df /hw/timer/allwinner-a10-pit.c
parent0aa6c7df8cfd9b24128807bccc4275571f400ed1 (diff)
downloadfocaccia-qemu-ba324b3fb40ac2ce621b97d6c2345d640fd26acb.tar.gz
focaccia-qemu-ba324b3fb40ac2ce621b97d6c2345d640fd26acb.zip
hw/timer: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-57-richard.henderson@linaro.org>
Diffstat (limited to 'hw/timer/allwinner-a10-pit.c')
-rw-r--r--hw/timer/allwinner-a10-pit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/allwinner-a10-pit.c b/hw/timer/allwinner-a10-pit.c
index 971f78462a..a524de1381 100644
--- a/hw/timer/allwinner-a10-pit.c
+++ b/hw/timer/allwinner-a10-pit.c
@@ -200,7 +200,7 @@ static const VMStateDescription vmstate_a10_pit = {
     .name = "a10.pit",
     .version_id = 1,
     .minimum_version_id = 1,
-    .fields = (VMStateField[]) {
+    .fields = (const VMStateField[]) {
         VMSTATE_UINT32(irq_enable, AwA10PITState),
         VMSTATE_UINT32(irq_status, AwA10PITState),
         VMSTATE_UINT32_ARRAY(control, AwA10PITState, AW_A10_PIT_TIMER_NR),