aboutsummaryrefslogtreecommitdiff
path: root/hw/i2c/mpc_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/i2c/mpc_i2c.c')
-rw-r--r--hw/i2c/mpc_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i2c/mpc_i2c.c b/hw/i2c/mpc_i2c.c
index 219c548402..cb051a520f 100644
--- a/hw/i2c/mpc_i2c.c
+++ b/hw/i2c/mpc_i2c.c
@@ -312,7 +312,7 @@ static const VMStateDescription mpc_i2c_vmstate = {
.name = TYPE_MPC_I2C,
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT8(address, MPCI2CState),
VMSTATE_UINT8(adr, MPCI2CState),
VMSTATE_UINT8(fdr, MPCI2CState),