aboutsummaryrefslogtreecommitdiff
path: root/hw/nvram/ds1225y.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:23 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-30 07:38:06 +1100
commit18d10e6175646c4e96c475f3ef481ffc6886c78b (patch)
tree903c418c0c9562aca8f80043ff5c13a55621b76a /hw/nvram/ds1225y.c
parent1de81b426ca563303d4fd6ba5a5d44d632a44e89 (diff)
hw/nvram: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-43-richard.henderson@linaro.org>
Diffstat (limited to 'hw/nvram/ds1225y.c')
-rw-r--r--hw/nvram/ds1225y.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/nvram/ds1225y.c b/hw/nvram/ds1225y.c
index 3660a47c51..6d510dcc68 100644
--- a/hw/nvram/ds1225y.c
+++ b/hw/nvram/ds1225y.c
@@ -102,7 +102,7 @@ static const VMStateDescription vmstate_nvram = {
.version_id = 0,
.minimum_version_id = 0,
.post_load = nvram_post_load,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_VARRAY_UINT32(contents, NvRamState, chip_size, 0,
vmstate_info_uint8, uint8_t),
VMSTATE_END_OF_LIST()