hw/tpm: Constify VMState

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-58-richard.henderson@linaro.org>
This commit is contained in:
Richard Henderson 2023-12-21 14:16:38 +11:00
parent ba324b3fb4
commit 5e6aceb2dd
6 changed files with 6 additions and 6 deletions

View file

@ -220,7 +220,7 @@ static int tpm_crb_pre_save(void *opaque)
static const VMStateDescription vmstate_tpm_crb = {
.name = "tpm-crb",
.pre_save = tpm_crb_pre_save,
.fields = (VMStateField[]) {
.fields = (const VMStateField[]) {
VMSTATE_UINT32_ARRAY(regs, CRBState, TPM_CRB_R_MAX),
VMSTATE_END_OF_LIST(),
}