mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
hw/input: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-34-richard.henderson@linaro.org>
This commit is contained in:
parent
8595c05422
commit
af0f07dfc7
15 changed files with 30 additions and 30 deletions
|
@ -39,7 +39,7 @@ static const VMStateDescription vmstate_lasips2_port = {
|
|||
.name = "lasips2-port",
|
||||
.version_id = 1,
|
||||
.minimum_version_id = 1,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_UINT8(control, LASIPS2Port),
|
||||
VMSTATE_UINT8(buf, LASIPS2Port),
|
||||
VMSTATE_BOOL(loopback_rbne, LASIPS2Port),
|
||||
|
@ -51,7 +51,7 @@ static const VMStateDescription vmstate_lasips2 = {
|
|||
.name = "lasips2",
|
||||
.version_id = 1,
|
||||
.minimum_version_id = 1,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_UINT8(int_status, LASIPS2State),
|
||||
VMSTATE_STRUCT(kbd_port.parent_obj, LASIPS2State, 1,
|
||||
vmstate_lasips2_port, LASIPS2Port),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue