aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/allwinner-sid.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:21 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-30 07:38:06 +1100
commite4ea952fb0180e85655e9a93d39a1ad9442f76f2 (patch)
treec9262dcb8b876dac5d561369f40d2170d6ca332e /hw/misc/allwinner-sid.c
parent2a031ec751a858e9b0dba754b502c0bc47876ef2 (diff)
hw/misc: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-41-richard.henderson@linaro.org>
Diffstat (limited to 'hw/misc/allwinner-sid.c')
-rw-r--r--hw/misc/allwinner-sid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/allwinner-sid.c b/hw/misc/allwinner-sid.c
index 6d61f55b1d..e5cd431743 100644
--- a/hw/misc/allwinner-sid.c
+++ b/hw/misc/allwinner-sid.c
@@ -136,7 +136,7 @@ static const VMStateDescription allwinner_sid_vmstate = {
.name = "allwinner-sid",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT32(control, AwSidState),
VMSTATE_UINT32(rdkey, AwSidState),
VMSTATE_UINT8_ARRAY_V(identifier.data, AwSidState, sizeof(QemuUUID), 1),