aboutsummaryrefslogtreecommitdiff
path: root/hw/block/fdc-isa.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:05 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-29 11:17:30 +1100
commit7d5dc0a367e0ea054bf662246d4b45a246e62061 (patch)
tree20f44f4f2c62cdde5296a7e38a404a5c058536b1 /hw/block/fdc-isa.c
parent856a6fe4f4364f78654994d9d585463c302e799e (diff)
hw/block: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-25-richard.henderson@linaro.org>
Diffstat (limited to 'hw/block/fdc-isa.c')
-rw-r--r--hw/block/fdc-isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/block/fdc-isa.c b/hw/block/fdc-isa.c
index 7ec075e470..ad0921c7d3 100644
--- a/hw/block/fdc-isa.c
+++ b/hw/block/fdc-isa.c
@@ -259,7 +259,7 @@ static const VMStateDescription vmstate_isa_fdc = {
.name = "fdc",
.version_id = 2,
.minimum_version_id = 2,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_STRUCT(state, FDCtrlISABus, 0, vmstate_fdc, FDCtrl),
VMSTATE_END_OF_LIST()
}