util/fifo8: Constify VMState
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-70-richard.henderson@linaro.org>
This commit is contained in:
parent
440b2174d2
commit
59c2ddedcb
@ -109,7 +109,7 @@ const VMStateDescription vmstate_fifo8 = {
|
|||||||
.name = "Fifo8",
|
.name = "Fifo8",
|
||||||
.version_id = 1,
|
.version_id = 1,
|
||||||
.minimum_version_id = 1,
|
.minimum_version_id = 1,
|
||||||
.fields = (VMStateField[]) {
|
.fields = (const VMStateField[]) {
|
||||||
VMSTATE_VBUFFER_UINT32(data, Fifo8, 1, NULL, capacity),
|
VMSTATE_VBUFFER_UINT32(data, Fifo8, 1, NULL, capacity),
|
||||||
VMSTATE_UINT32(head, Fifo8),
|
VMSTATE_UINT32(head, Fifo8),
|
||||||
VMSTATE_UINT32(num, Fifo8),
|
VMSTATE_UINT32(num, Fifo8),
|
||||||
|
Loading…
Reference in New Issue
Block a user