aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/pca9552.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:21 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-30 07:38:06 +1100
commite4ea952fb0180e85655e9a93d39a1ad9442f76f2 (patch)
treec9262dcb8b876dac5d561369f40d2170d6ca332e /hw/misc/pca9552.c
parent2a031ec751a858e9b0dba754b502c0bc47876ef2 (diff)
downloadqemu-e4ea952fb0180e85655e9a93d39a1ad9442f76f2.zip
qemu-e4ea952fb0180e85655e9a93d39a1ad9442f76f2.tar.gz
qemu-e4ea952fb0180e85655e9a93d39a1ad9442f76f2.tar.bz2
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/pca9552.c')
-rw-r--r--hw/misc/pca9552.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/pca9552.c b/hw/misc/pca9552.c
index fff19e3..72b6534 100644
--- a/hw/misc/pca9552.c
+++ b/hw/misc/pca9552.c
@@ -328,7 +328,7 @@ static const VMStateDescription pca9552_vmstate = {
.name = "PCA9552",
.version_id = 0,
.minimum_version_id = 0,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT8(len, PCA955xState),
VMSTATE_UINT8(pointer, PCA955xState),
VMSTATE_UINT8_ARRAY(regs, PCA955xState, PCA955X_NR_REGS),