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/exynos4210_pwm.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/exynos4210_pwm.c')
| -rw-r--r-- | hw/timer/exynos4210_pwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/timer/exynos4210_pwm.c b/hw/timer/exynos4210_pwm.c index 3528d0f33a..ca330e9446 100644 --- a/hw/timer/exynos4210_pwm.c +++ b/hw/timer/exynos4210_pwm.c @@ -123,7 +123,7 @@ static const VMStateDescription vmstate_exynos4210_pwm = { .name = "exynos4210.pwm.pwm", .version_id = 1, .minimum_version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT32(id, Exynos4210PWM), VMSTATE_UINT32(freq, Exynos4210PWM), VMSTATE_PTIMER(ptimer, Exynos4210PWM), @@ -137,7 +137,7 @@ static const VMStateDescription vmstate_exynos4210_pwm_state = { .name = "exynos4210.pwm", .version_id = 1, .minimum_version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT32_ARRAY(reg_tcfg, Exynos4210PWMState, 2), VMSTATE_UINT32(reg_tcon, Exynos4210PWMState), VMSTATE_UINT32(reg_tint_cstat, Exynos4210PWMState), |