mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
hw/char: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-26-richard.henderson@linaro.org>
This commit is contained in:
parent
7d5dc0a367
commit
2f6cab053f
24 changed files with 39 additions and 39 deletions
|
@ -74,7 +74,7 @@ static const VMStateDescription vmstate_pci_serial = {
|
|||
.name = "pci-serial",
|
||||
.version_id = 1,
|
||||
.minimum_version_id = 1,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_PCI_DEVICE(dev, PCISerialState),
|
||||
VMSTATE_STRUCT(state, PCISerialState, 0, vmstate_serial, SerialState),
|
||||
VMSTATE_END_OF_LIST()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue