mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
hw/block: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-25-richard.henderson@linaro.org>
This commit is contained in:
parent
856a6fe4f4
commit
7d5dc0a367
11 changed files with 27 additions and 27 deletions
|
@ -95,7 +95,7 @@ static const VMStateDescription vmstate_pflash = {
|
|||
.version_id = 1,
|
||||
.minimum_version_id = 1,
|
||||
.post_load = pflash_post_load,
|
||||
.fields = (VMStateField[]) {
|
||||
.fields = (const VMStateField[]) {
|
||||
VMSTATE_UINT8(wcycle, PFlashCFI01),
|
||||
VMSTATE_UINT8(cmd, PFlashCFI01),
|
||||
VMSTATE_UINT8(status, PFlashCFI01),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue