diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:34 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-30 07:38:06 +1100 |
commit | af10fff2a3ae50d0337269aa1015591cfd380005 (patch) | |
tree | b9888ce562aeda788e949651b56f6a03711fef92 /hw/sensor/dps310.c | |
parent | 307119ba50031be7553781a8a71aae38d798a7b3 (diff) |
hw/sensor: Constify VMState
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-54-richard.henderson@linaro.org>
Diffstat (limited to 'hw/sensor/dps310.c')
-rw-r--r-- | hw/sensor/dps310.c | 2 |
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), |