diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:21 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-30 07:38:06 +1100 |
commit | e4ea952fb0180e85655e9a93d39a1ad9442f76f2 (patch) | |
tree | c9262dcb8b876dac5d561369f40d2170d6ca332e /hw/misc/axp2xx.c | |
parent | 2a031ec751a858e9b0dba754b502c0bc47876ef2 (diff) |
hw/misc: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-41-richard.henderson@linaro.org>
Diffstat (limited to 'hw/misc/axp2xx.c')
-rw-r--r-- | hw/misc/axp2xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/axp2xx.c b/hw/misc/axp2xx.c index 41538c1cd7..af646878cd 100644 --- a/hw/misc/axp2xx.c +++ b/hw/misc/axp2xx.c @@ -217,7 +217,7 @@ static int axp2xx_tx(I2CSlave *i2c, uint8_t data) static const VMStateDescription vmstate_axp2xx = { .name = TYPE_AXP2XX, .version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT8_ARRAY(regs, AXP2xxI2CState, NR_REGS), VMSTATE_UINT8(ptr, AXP2xxI2CState), VMSTATE_UINT8(count, AXP2xxI2CState), |