diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:07 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-29 11:17:30 +1100 |
commit | f0613160d20f0a3484ea8b6d7cb085c22a84682f (patch) | |
tree | c713ac894aa2dd24420f565100e913e3c4ddf726 /hw/display/i2c-ddc.c | |
parent | 2f6cab053f25ed500c187099e7e7484ead69729a (diff) |
hw/display: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-27-richard.henderson@linaro.org>
Diffstat (limited to 'hw/display/i2c-ddc.c')
-rw-r--r-- | hw/display/i2c-ddc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/display/i2c-ddc.c b/hw/display/i2c-ddc.c index 146489518c..3f9d1e1f6f 100644 --- a/hw/display/i2c-ddc.c +++ b/hw/display/i2c-ddc.c @@ -88,7 +88,7 @@ static void i2c_ddc_init(Object *obj) static const VMStateDescription vmstate_i2c_ddc = { .name = TYPE_I2CDDC, .version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_BOOL(firstbyte, I2CDDCState), VMSTATE_UINT8(reg, I2CDDCState), VMSTATE_END_OF_LIST() |