mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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:
parent
307119ba50
commit
af10fff2a3
9 changed files with 11 additions and 11 deletions
|
@ -290,7 +290,7 @@ static const VMStateDescription vmstate_tmp421 = {
|
|||
.name = "TMP421",
|
||||
.version_id = 0,
|
||||
.minimum_version_id = 0,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_UINT8(len, TMP421State),
|
||||
VMSTATE_UINT8_ARRAY(buf, TMP421State, 2),
|
||||
VMSTATE_UINT8(pointer, TMP421State),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue