diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:04 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-29 11:17:30 +1100 |
commit | 856a6fe4f4364f78654994d9d585463c302e799e (patch) | |
tree | 913808cc1ec31b161a34072e0ce2491ef8661033 /hw/audio/wm8750.c | |
parent | 993676279ead57d38af798d6a3d564cbf9366b06 (diff) |
hw/audio: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-24-richard.henderson@linaro.org>
Diffstat (limited to 'hw/audio/wm8750.c')
-rw-r--r-- | hw/audio/wm8750.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/audio/wm8750.c b/hw/audio/wm8750.c index 57954a6314..ec2c4e1374 100644 --- a/hw/audio/wm8750.c +++ b/hw/audio/wm8750.c @@ -592,7 +592,7 @@ static const VMStateDescription vmstate_wm8750 = { .minimum_version_id = 0, .pre_save = wm8750_pre_save, .post_load = wm8750_post_load, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT8_ARRAY(i2c_data, WM8750State, 2), VMSTATE_INT32(i2c_len, WM8750State), VMSTATE_INT32(enable, WM8750State), |