diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:30 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-30 07:38:06 +1100 |
commit | a80cc662255c1f67adcc86d6e279fb0d6684ef5e (patch) | |
tree | 3cddb0542d2e7c5b016ebbb1c1da3940bdd3890b /hw/rtc/goldfish_rtc.c | |
parent | a2c2fe57c2442ea3f7fe78a1dd8770b279b5dce6 (diff) |
hw/rtc: Constify VMState
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-50-richard.henderson@linaro.org>
Diffstat (limited to 'hw/rtc/goldfish_rtc.c')
-rw-r--r-- | hw/rtc/goldfish_rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/rtc/goldfish_rtc.c b/hw/rtc/goldfish_rtc.c index 19a56402a0..01acf30b27 100644 --- a/hw/rtc/goldfish_rtc.c +++ b/hw/rtc/goldfish_rtc.c @@ -242,7 +242,7 @@ static const VMStateDescription goldfish_rtc_vmstate = { .version_id = 2, .pre_save = goldfish_rtc_pre_save, .post_load = goldfish_rtc_post_load, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT64(tick_offset_vmstate, GoldfishRTCState), VMSTATE_UINT64(alarm_next, GoldfishRTCState), VMSTATE_UINT32(alarm_running, GoldfishRTCState), |