summary refs log tree commit diff stats
path: root/hw/i2c/npcm7xx_smbus.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:11 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-29 11:17:30 +1100
commit01d9442a889f545a41151066f6a577822166d21e (patch)
treef943ebbf97125202d60e5ca7d4323cf21ab2ff0b /hw/i2c/npcm7xx_smbus.c
parent2ebfd1c4ac5bfcc990babf4bb4f410eeb79f1afa (diff)
downloadfocaccia-qemu-01d9442a889f545a41151066f6a577822166d21e.tar.gz
focaccia-qemu-01d9442a889f545a41151066f6a577822166d21e.zip
hw/i2c: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-31-richard.henderson@linaro.org>
Diffstat (limited to 'hw/i2c/npcm7xx_smbus.c')
-rw-r--r--hw/i2c/npcm7xx_smbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i2c/npcm7xx_smbus.c b/hw/i2c/npcm7xx_smbus.c
index e7e0ba66fe..0ea3083bb6 100644
--- a/hw/i2c/npcm7xx_smbus.c
+++ b/hw/i2c/npcm7xx_smbus.c
@@ -1046,7 +1046,7 @@ static const VMStateDescription vmstate_npcm7xx_smbus = {
     .name = "npcm7xx-smbus",
     .version_id = 0,
     .minimum_version_id = 0,
-    .fields = (VMStateField[]) {
+    .fields = (const VMStateField[]) {
         VMSTATE_UINT8(sda, NPCM7xxSMBusState),
         VMSTATE_UINT8(st, NPCM7xxSMBusState),
         VMSTATE_UINT8(cst, NPCM7xxSMBusState),