aboutsummaryrefslogtreecommitdiff
path: root/hw/net/npcm7xx_emc.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:22 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-30 07:38:06 +1100
commit1de81b426ca563303d4fd6ba5a5d44d632a44e89 (patch)
treeaa58dfa1e4bb546419a9cee8e2b47f4cbc61d9ee /hw/net/npcm7xx_emc.c
parente4ea952fb0180e85655e9a93d39a1ad9442f76f2 (diff)
hw/net: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-42-richard.henderson@linaro.org>
Diffstat (limited to 'hw/net/npcm7xx_emc.c')
-rw-r--r--hw/net/npcm7xx_emc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/net/npcm7xx_emc.c b/hw/net/npcm7xx_emc.c
index 1d4e8f59f3..d1583b6f9b 100644
--- a/hw/net/npcm7xx_emc.c
+++ b/hw/net/npcm7xx_emc.c
@@ -837,7 +837,7 @@ static const VMStateDescription vmstate_npcm7xx_emc = {
.name = TYPE_NPCM7XX_EMC,
.version_id = 0,
.minimum_version_id = 0,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT8(emc_num, NPCM7xxEMCState),
VMSTATE_UINT32_ARRAY(regs, NPCM7xxEMCState, NPCM7XX_NUM_EMC_REGS),
VMSTATE_BOOL(tx_active, NPCM7xxEMCState),