mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-01-05 22:17:40 -07: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
|
|
@ -217,7 +217,7 @@ static const VMStateDescription vmstate_adb_mouse = {
|
|||
.name = "adb_mouse",
|
||||
.version_id = 2,
|
||||
.minimum_version_id = 2,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_STRUCT(parent_obj, MouseState, 0, vmstate_adb_device,
|
||||
ADBDevice),
|
||||
VMSTATE_INT32(buttons_state, MouseState),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue