aboutsummaryrefslogtreecommitdiff
path: root/hw/sensor/dps310.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/sensor/dps310.c')
-rw-r--r--hw/sensor/dps310.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sensor/dps310.c b/hw/sensor/dps310.c
index addee99b19..01c776dd7a 100644
--- a/hw/sensor/dps310.c
+++ b/hw/sensor/dps310.c
@@ -188,7 +188,7 @@ static const VMStateDescription vmstate_dps310 = {
.name = "DPS310",
.version_id = 0,
.minimum_version_id = 0,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT8(len, DPS310State),
VMSTATE_UINT8_ARRAY(regs, DPS310State, NUM_REGISTERS),
VMSTATE_UINT8(pointer, DPS310State),