aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/spapr_rtc.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:28 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-30 07:38:06 +1100
commit078ddbc93655af646c40f0ef0f7ca35343535128 (patch)
tree095df0b6e7398977b880124f97e70a03c56dc8fe /hw/ppc/spapr_rtc.c
parente2bd53a38c82b46bc34265c9f46c84890313a8da (diff)
hw/ppc: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-48-richard.henderson@linaro.org>
Diffstat (limited to 'hw/ppc/spapr_rtc.c')
-rw-r--r--hw/ppc/spapr_rtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/spapr_rtc.c b/hw/ppc/spapr_rtc.c
index d55b4b0c50..deb3ea4e49 100644
--- a/hw/ppc/spapr_rtc.c
+++ b/hw/ppc/spapr_rtc.c
@@ -157,7 +157,7 @@ static const VMStateDescription vmstate_spapr_rtc = {
.name = "spapr/rtc",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_INT64(ns_offset, SpaprRtcState),
VMSTATE_END_OF_LIST()
},