mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
hw/arm: 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-19-richard.henderson@linaro.org>
This commit is contained in:
parent
dd9729b302
commit
607ef5706c
15 changed files with 45 additions and 45 deletions
|
@ -168,7 +168,7 @@ static const VMStateDescription vmstate_zipit_lcd_state = {
|
|||
.name = "zipit-lcd",
|
||||
.version_id = 2,
|
||||
.minimum_version_id = 2,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_SSI_PERIPHERAL(ssidev, ZipitLCD),
|
||||
VMSTATE_INT32(selected, ZipitLCD),
|
||||
VMSTATE_INT32(enabled, ZipitLCD),
|
||||
|
@ -274,7 +274,7 @@ static const VMStateDescription vmstate_aer915_state = {
|
|||
.name = "aer915",
|
||||
.version_id = 1,
|
||||
.minimum_version_id = 1,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_INT32(len, AER915State),
|
||||
VMSTATE_BUFFER(buf, AER915State),
|
||||
VMSTATE_END_OF_LIST(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue