mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
hw/net: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-42-richard.henderson@linaro.org>
This commit is contained in:
parent
e4ea952fb0
commit
1de81b426c
41 changed files with 80 additions and 80 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue