mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
hw/i2c: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-31-richard.henderson@linaro.org>
This commit is contained in:
parent
2ebfd1c4ac
commit
01d9442a88
13 changed files with 15 additions and 15 deletions
|
@ -50,7 +50,7 @@ static const VMStateDescription vmstate_ich9_smbus = {
|
|||
.name = "ich9_smb",
|
||||
.version_id = 1,
|
||||
.minimum_version_id = 1,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_PCI_DEVICE(dev, ICH9SMBState),
|
||||
VMSTATE_BOOL_TEST(irq_enabled, ICH9SMBState, ich9_vmstate_need_smbus),
|
||||
VMSTATE_STRUCT_TEST(smb, ICH9SMBState, ich9_vmstate_need_smbus, 1,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue