diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:37 +1100 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-30 07:38:06 +1100 |
| commit | ba324b3fb40ac2ce621b97d6c2345d640fd26acb (patch) | |
| tree | 24e537e988bca3d1189b5e8c0d4f74c1868709df /hw/timer/stellaris-gptm.c | |
| parent | 0aa6c7df8cfd9b24128807bccc4275571f400ed1 (diff) | |
| download | focaccia-qemu-ba324b3fb40ac2ce621b97d6c2345d640fd26acb.tar.gz focaccia-qemu-ba324b3fb40ac2ce621b97d6c2345d640fd26acb.zip | |
hw/timer: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-57-richard.henderson@linaro.org>
Diffstat (limited to 'hw/timer/stellaris-gptm.c')
| -rw-r--r-- | hw/timer/stellaris-gptm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/stellaris-gptm.c b/hw/timer/stellaris-gptm.c index fd71c79be4..f28958cefc 100644 --- a/hw/timer/stellaris-gptm.c +++ b/hw/timer/stellaris-gptm.c @@ -250,7 +250,7 @@ static const VMStateDescription vmstate_stellaris_gptm = { .name = "stellaris_gptm", .version_id = 2, .minimum_version_id = 2, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT32(config, gptm_state), VMSTATE_UINT32_ARRAY(mode, gptm_state, 2), VMSTATE_UINT32(control, gptm_state), |