aboutsummaryrefslogtreecommitdiff
path: root/hw/isa/pc87312.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:18 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-29 11:17:30 +1100
commitcbf195061cfe1808b4a7f3f5ae570e3d926195ea (patch)
tree666021db321ab9b7978f4d497005b9ee5c65a533 /hw/isa/pc87312.c
parent09c6ac6d8fedb95d960163ab1f4f6ee9bb405ce8 (diff)
downloadqemu-cbf195061cfe1808b4a7f3f5ae570e3d926195ea.zip
qemu-cbf195061cfe1808b4a7f3f5ae570e3d926195ea.tar.gz
qemu-cbf195061cfe1808b4a7f3f5ae570e3d926195ea.tar.bz2
hw/isa: Constify VMState
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-38-richard.henderson@linaro.org>
Diffstat (limited to 'hw/isa/pc87312.c')
-rw-r--r--hw/isa/pc87312.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/isa/pc87312.c b/hw/isa/pc87312.c
index 8d7b8d3..ee23f3e 100644
--- a/hw/isa/pc87312.c
+++ b/hw/isa/pc87312.c
@@ -319,7 +319,7 @@ static const VMStateDescription vmstate_pc87312 = {
.version_id = 1,
.minimum_version_id = 1,
.post_load = pc87312_post_load,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT8(read_id_step, PC87312State),
VMSTATE_UINT8(selected_index, PC87312State),
VMSTATE_UINT8_ARRAY(regs, PC87312State, 3),