diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:33 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-30 07:38:06 +1100 |
commit | 307119ba50031be7553781a8a71aae38d798a7b3 (patch) | |
tree | 6f93360602eab1e3b7b4909edaf9dd959e4bc244 /hw/sd/pxa2xx_mmci.c | |
parent | 2d7b39a64f785999f1225380ec3ad1e89922226d (diff) |
hw/sd: Constify VMState
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-53-richard.henderson@linaro.org>
Diffstat (limited to 'hw/sd/pxa2xx_mmci.c')
-rw-r--r-- | hw/sd/pxa2xx_mmci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sd/pxa2xx_mmci.c b/hw/sd/pxa2xx_mmci.c index 5e8ea69188..82529708c8 100644 --- a/hw/sd/pxa2xx_mmci.c +++ b/hw/sd/pxa2xx_mmci.c @@ -84,7 +84,7 @@ static const VMStateDescription vmstate_pxa2xx_mmci = { .name = "pxa2xx-mmci", .version_id = 2, .minimum_version_id = 2, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT32(status, PXA2xxMMCIState), VMSTATE_UINT32(clkrt, PXA2xxMMCIState), VMSTATE_UINT32(spi, PXA2xxMMCIState), |