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/nrf51_timer.c | |
parent | 0aa6c7df8cfd9b24128807bccc4275571f400ed1 (diff) |
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/nrf51_timer.c')
-rw-r--r-- | hw/timer/nrf51_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/timer/nrf51_timer.c b/hw/timer/nrf51_timer.c index 50c6772383..a33166a881 100644 --- a/hw/timer/nrf51_timer.c +++ b/hw/timer/nrf51_timer.c @@ -361,7 +361,7 @@ static const VMStateDescription vmstate_nrf51_timer = { .name = TYPE_NRF51_TIMER, .version_id = 1, .post_load = nrf51_timer_post_load, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_TIMER(timer, NRF51TimerState), VMSTATE_INT64(timer_start_ns, NRF51TimerState), VMSTATE_INT64(update_counter_ns, NRF51TimerState), |