mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
hw/pci-bridge: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-46-richard.henderson@linaro.org>
This commit is contained in:
parent
8e5e0890b7
commit
f026c578eb
7 changed files with 7 additions and 7 deletions
|
@ -199,7 +199,7 @@ static bool pci_device_shpc_present(void *opaque, int version_id)
|
|||
static const VMStateDescription pci_bridge_dev_vmstate = {
|
||||
.name = "pci_bridge",
|
||||
.priority = MIG_PRI_PCI_BUS,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_PCI_DEVICE(parent_obj, PCIBridge),
|
||||
SHPC_VMSTATE(shpc, PCIDevice, pci_device_shpc_present),
|
||||
VMSTATE_END_OF_LIST()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue