mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -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
|
@ -654,7 +654,7 @@ static const VMStateDescription vmstate_max34451 = {
|
|||
.name = TYPE_MAX34451,
|
||||
.version_id = 0,
|
||||
.minimum_version_id = 0,
|
||||
.fields = (VMStateField[]){
|
||||
.fields = (const VMStateField[]){
|
||||
VMSTATE_PMBUS_DEVICE(parent, MAX34451State),
|
||||
VMSTATE_UINT16_ARRAY(power_good_on, MAX34451State,
|
||||
MAX34451_NUM_PWR_DEVICES),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue