diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:36 +1100 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-30 07:38:06 +1100 |
| commit | 0aa6c7df8cfd9b24128807bccc4275571f400ed1 (patch) | |
| tree | 5afed745151929c145fb5c7cf456b8a2f71feda7 /hw/ssi/stm32f2xx_spi.c | |
| parent | 735e354a43996f1c8c2972ca9e21500789787b92 (diff) | |
| download | focaccia-qemu-0aa6c7df8cfd9b24128807bccc4275571f400ed1.tar.gz focaccia-qemu-0aa6c7df8cfd9b24128807bccc4275571f400ed1.zip | |
hw/ssi: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-56-richard.henderson@linaro.org>
Diffstat (limited to 'hw/ssi/stm32f2xx_spi.c')
| -rw-r--r-- | hw/ssi/stm32f2xx_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ssi/stm32f2xx_spi.c b/hw/ssi/stm32f2xx_spi.c index cd6e8443db..a37139fe5a 100644 --- a/hw/ssi/stm32f2xx_spi.c +++ b/hw/ssi/stm32f2xx_spi.c @@ -174,7 +174,7 @@ static const VMStateDescription vmstate_stm32f2xx_spi = { .name = TYPE_STM32F2XX_SPI, .version_id = 1, .minimum_version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT32(spi_cr1, STM32F2XXSPIState), VMSTATE_UINT32(spi_cr2, STM32F2XXSPIState), VMSTATE_UINT32(spi_sr, STM32F2XXSPIState), |