aboutsummaryrefslogtreecommitdiff
path: root/hw/display/pl110.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:07 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-29 11:17:30 +1100
commitf0613160d20f0a3484ea8b6d7cb085c22a84682f (patch)
treec713ac894aa2dd24420f565100e913e3c4ddf726 /hw/display/pl110.c
parent2f6cab053f25ed500c187099e7e7484ead69729a (diff)
hw/display: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-27-richard.henderson@linaro.org>
Diffstat (limited to 'hw/display/pl110.c')
-rw-r--r--hw/display/pl110.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/pl110.c b/hw/display/pl110.c
index 4bf15c1da5..4b83db9322 100644
--- a/hw/display/pl110.c
+++ b/hw/display/pl110.c
@@ -83,7 +83,7 @@ static const VMStateDescription vmstate_pl110 = {
.version_id = 2,
.minimum_version_id = 1,
.post_load = vmstate_pl110_post_load,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_INT32(version, PL110State),
VMSTATE_UINT32_ARRAY(timing, PL110State, 4),
VMSTATE_UINT32(cr, PL110State),