hw/ipack: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-36-richard.henderson@linaro.org>
This commit is contained in:
parent
45b1f81d90
commit
8913d05dc4
@ -93,7 +93,7 @@ const VMStateDescription vmstate_ipack_device = {
|
||||
.name = "ipack_device",
|
||||
.version_id = 1,
|
||||
.minimum_version_id = 1,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_INT32(slot, IPackDevice),
|
||||
VMSTATE_END_OF_LIST()
|
||||
}
|
||||
|
@ -619,7 +619,7 @@ static const VMStateDescription vmstate_tpci200 = {
|
||||
.name = "tpci200",
|
||||
.version_id = 1,
|
||||
.minimum_version_id = 1,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_PCI_DEVICE(dev, TPCI200State),
|
||||
VMSTATE_BOOL_ARRAY(big_endian, TPCI200State, 3),
|
||||
VMSTATE_UINT8_ARRAY(ctrl, TPCI200State, N_MODULES),
|
||||
|
Loading…
Reference in New Issue
Block a user