Skip to content

Commit

Permalink
hw/sparc: Constify VMState
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-55-richard.henderson@linaro.org>
  • Loading branch information
rth7680 committed Dec 29, 2023
1 parent af10fff commit 735e354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hw/sparc/sun4m_iommu.c
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ static const VMStateDescription vmstate_iommu = {
.name = "iommu",
.version_id = 2,
.minimum_version_id = 2,
.fields = (VMStateField[]) {
.fields = (const VMStateField[]) {
VMSTATE_UINT32_ARRAY(regs, IOMMUState, IOMMU_NREGS),
VMSTATE_UINT64(iostart, IOMMUState),
VMSTATE_END_OF_LIST()
Expand Down

0 comments on commit 735e354

Please sign in to comment.