aboutsummaryrefslogtreecommitdiff
path: root/hw/openrisc
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:24 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-30 07:38:06 +1100
commitbe555ec41376717fcf0276ce04dfb4e0370f5490 (patch)
tree98912adf5dca93a38c5c71bc1ff0cf023002eaa6 /hw/openrisc
parent18d10e6175646c4e96c475f3ef481ffc6886c78b (diff)
downloadqemu-be555ec41376717fcf0276ce04dfb4e0370f5490.zip
qemu-be555ec41376717fcf0276ce04dfb4e0370f5490.tar.gz
qemu-be555ec41376717fcf0276ce04dfb4e0370f5490.tar.bz2
hw/openrisc: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-44-richard.henderson@linaro.org>
Diffstat (limited to 'hw/openrisc')
-rw-r--r--hw/openrisc/cputimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/openrisc/cputimer.c b/hw/openrisc/cputimer.c
index 10163b3..835986c 100644
--- a/hw/openrisc/cputimer.c
+++ b/hw/openrisc/cputimer.c
@@ -145,7 +145,7 @@ static const VMStateDescription vmstate_or1k_timer = {
.name = "or1k_timer",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT32(ttcr, OR1KTimerState),
VMSTATE_UINT64(last_clk, OR1KTimerState),
VMSTATE_END_OF_LIST()