diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:27 +1100 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-30 07:38:06 +1100 |
| commit | e2bd53a38c82b46bc34265c9f46c84890313a8da (patch) | |
| tree | 1347ac491c3eeb1c40afa710c9264e6a3bbf1e41 /hw/pci-host/gt64120.c | |
| parent | f026c578eb1a07c0a62caf8e18aa51c6872e9ff2 (diff) | |
| download | focaccia-qemu-e2bd53a38c82b46bc34265c9f46c84890313a8da.tar.gz focaccia-qemu-e2bd53a38c82b46bc34265c9f46c84890313a8da.zip | |
hw/pci-host: 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-47-richard.henderson@linaro.org>
Diffstat (limited to 'hw/pci-host/gt64120.c')
| -rw-r--r-- | hw/pci-host/gt64120.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/gt64120.c b/hw/pci-host/gt64120.c index 143bf053d7..e02efc9e2e 100644 --- a/hw/pci-host/gt64120.c +++ b/hw/pci-host/gt64120.c @@ -431,7 +431,7 @@ static const VMStateDescription vmstate_gt64120 = { .version_id = 1, .minimum_version_id = 1, .post_load = gt64120_post_load, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT32_ARRAY(regs, GT64120State, GT_REGS), VMSTATE_END_OF_LIST() } |