hw/misc: Constify VMState

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-41-richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2023-12-21 14:16:21 +11:00
parent 2a031ec751
commit e4ea952fb0
83 changed files with 108 additions and 108 deletions

View file

@ -77,7 +77,7 @@ static const VMStateDescription vmstate_led = {
.name = TYPE_LED,
.version_id = 1,
.minimum_version_id = 1,
.fields = (VMStateField[]) {
.fields = (const VMStateField[]) {
VMSTATE_UINT8(intensity_percent, LEDState),
VMSTATE_END_OF_LIST()
}