aboutsummaryrefslogtreecommitdiff
path: root/hw/adc/npcm7xx_adc.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-12-21 14:16:03 +1100
committerRichard Henderson <richard.henderson@linaro.org>2023-12-29 11:17:30 +1100
commit993676279ead57d38af798d6a3d564cbf9366b06 (patch)
treecc770428705ff92c5058b066a91ca37f121d648e /hw/adc/npcm7xx_adc.c
parentc559ba5720376e39a05c75e52e67d5998d2b1422 (diff)
hw/adc: Constify VMState
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-23-richard.henderson@linaro.org>
Diffstat (limited to 'hw/adc/npcm7xx_adc.c')
-rw-r--r--hw/adc/npcm7xx_adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/adc/npcm7xx_adc.c b/hw/adc/npcm7xx_adc.c
index bc6f3f55e6..c6647eec6d 100644
--- a/hw/adc/npcm7xx_adc.c
+++ b/hw/adc/npcm7xx_adc.c
@@ -253,7 +253,7 @@ static const VMStateDescription vmstate_npcm7xx_adc = {
.name = "npcm7xx-adc",
.version_id = 0,
.minimum_version_id = 0,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_TIMER(conv_timer, NPCM7xxADCState),
VMSTATE_UINT32(con, NPCM7xxADCState),
VMSTATE_UINT32(data, NPCM7xxADCState),