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_sysbus.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_sysbus.c')
-rw-r--r-- | hw/tpm/tpm_tis_sysbus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tpm/tpm_tis_sysbus.c b/hw/tpm/tpm_tis_sysbus.c index 2fc550f119..941f7f7f62 100644 --- a/hw/tpm/tpm_tis_sysbus.c +++ b/hw/tpm/tpm_tis_sysbus.c @@ -52,7 +52,7 @@ static const VMStateDescription vmstate_tpm_tis_sysbus = { .name = "tpm-tis", .version_id = 0, .pre_save = tpm_tis_pre_save_sysbus, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_BUFFER(state.buffer, TPMStateSysBus), VMSTATE_UINT16(state.rw_offset, TPMStateSysBus), VMSTATE_UINT8(state.active_locty, TPMStateSysBus), |