aboutsummaryrefslogtreecommitdiff
path: root/hw/intc/aspeed_vic.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:15 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-29 11:17:30 +1100
commit45b1f81d9088d102c4b6739281d93bbed88666d4 (patch)
tree14ea807aa4696c2cee57f979e4083cfdcbd59e0d /hw/intc/aspeed_vic.c
parentaf0f07dfc7ce56a944c38d872b7d4502178e6948 (diff)
hw/intc: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-35-richard.henderson@linaro.org>
Diffstat (limited to 'hw/intc/aspeed_vic.c')
-rw-r--r--hw/intc/aspeed_vic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/intc/aspeed_vic.c b/hw/intc/aspeed_vic.c
index 5ba06c5262..ba1d953c2c 100644
--- a/hw/intc/aspeed_vic.c
+++ b/hw/intc/aspeed_vic.c
@@ -326,7 +326,7 @@ static const VMStateDescription vmstate_aspeed_vic = {
.name = "aspeed.new-vic",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT64(level, AspeedVICState),
VMSTATE_UINT64(raw, AspeedVICState),
VMSTATE_UINT64(select, AspeedVICState),