hw/sensor: 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-54-richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2023-12-21 14:16:34 +11:00
parent 307119ba50
commit af10fff2a3
9 changed files with 11 additions and 11 deletions

View file

@ -228,7 +228,7 @@ static const VMStateDescription vmstate_emc141x = {
.name = "EMC141X",
.version_id = 0,
.minimum_version_id = 0,
.fields = (VMStateField[]) {
.fields = (const VMStateField[]) {
VMSTATE_UINT8(len, EMC141XState),
VMSTATE_UINT8(data, EMC141XState),
VMSTATE_UINT8(pointer, EMC141XState),