mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07: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
|
@ -1771,7 +1771,7 @@ static const VMStateDescription vmstate_cadence_gem = {
|
|||
.name = "cadence_gem",
|
||||
.version_id = 4,
|
||||
.minimum_version_id = 4,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_UINT32_ARRAY(regs, CadenceGEMState, CADENCE_GEM_MAXREG),
|
||||
VMSTATE_UINT16_ARRAY(phy_regs, CadenceGEMState, 32),
|
||||
VMSTATE_UINT8(phy_loop, CadenceGEMState),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue