mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03: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
|
@ -925,7 +925,7 @@ static const VMStateDescription vmstate_hme = {
|
|||
.name = "sunhme",
|
||||
.version_id = 0,
|
||||
.minimum_version_id = 0,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_PCI_DEVICE(parent_obj, SunHMEState),
|
||||
VMSTATE_MACADDR(conf.macaddr, SunHMEState),
|
||||
VMSTATE_UINT32_ARRAY(sebregs, SunHMEState, (HME_SEB_REG_SIZE >> 2)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue