diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:38 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-30 07:38:06 +1100 |
commit | 5e6aceb2dd69200c4a5ae900d5ddbcf3462973d6 (patch) | |
tree | 6de2f4c0b775c9fa309d42d199d07814f3191e08 /hw/tpm/tpm_tis_i2c.c | |
parent | ba324b3fb40ac2ce621b97d6c2345d640fd26acb (diff) |
hw/tpm: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-58-richard.henderson@linaro.org>
Diffstat (limited to 'hw/tpm/tpm_tis_i2c.c')
-rw-r--r-- | hw/tpm/tpm_tis_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tpm/tpm_tis_i2c.c b/hw/tpm/tpm_tis_i2c.c index 4ecea7fa3e..4bb09655b4 100644 --- a/hw/tpm/tpm_tis_i2c.c +++ b/hw/tpm/tpm_tis_i2c.c @@ -115,7 +115,7 @@ static const VMStateDescription vmstate_tpm_tis_i2c = { .version_id = 0, .pre_save = tpm_tis_i2c_pre_save, .post_load = tpm_tis_i2c_post_load, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_BUFFER(state.buffer, TPMStateI2C), VMSTATE_UINT16(state.rw_offset, TPMStateI2C), VMSTATE_UINT8(state.active_locty, TPMStateI2C), |