aboutsummaryrefslogtreecommitdiff
path: root/hw/display/sii9022.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/display/sii9022.c')
-rw-r--r--hw/display/sii9022.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/sii9022.c b/hw/display/sii9022.c
index 664fd4046d..60c3f78549 100644
--- a/hw/display/sii9022.c
+++ b/hw/display/sii9022.c
@@ -51,7 +51,7 @@ static const VMStateDescription vmstate_sii9022 = {
.name = "sii9022",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_I2C_SLAVE(parent_obj, sii9022_state),
VMSTATE_UINT8(ptr, sii9022_state),
VMSTATE_BOOL(addr_byte, sii9022_state),