mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
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:
parent
ba324b3fb4
commit
5e6aceb2dd
6 changed files with 6 additions and 6 deletions
|
@ -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(),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue