From f0613160d20f0a3484ea8b6d7cb085c22a84682f Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 21 Dec 2023 14:16:07 +1100 Subject: hw/display: Constify VMState Signed-off-by: Richard Henderson Message-Id: <20231221031652.119827-27-richard.henderson@linaro.org> --- hw/display/ramfb-standalone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/display/ramfb-standalone.c') diff --git a/hw/display/ramfb-standalone.c b/hw/display/ramfb-standalone.c index a96e7ebcd9..20eab34ff4 100644 --- a/hw/display/ramfb-standalone.c +++ b/hw/display/ramfb-standalone.c @@ -54,7 +54,7 @@ static const VMStateDescription ramfb_dev_vmstate = { .version_id = 1, .minimum_version_id = 1, .needed = migrate_needed, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_STRUCT_POINTER(state, RAMFBStandaloneState, ramfb_vmstate, RAMFBState), VMSTATE_END_OF_LIST() } -- cgit 1.4.1