From af0f07dfc7ce56a944c38d872b7d4502178e6948 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Thu, 21 Dec 2023 14:16:14 +1100 Subject: hw/input: Constify VMState Signed-off-by: Richard Henderson Message-Id: <20231221031652.119827-34-richard.henderson@linaro.org> --- hw/input/tsc2005.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/input/tsc2005.c') diff --git a/hw/input/tsc2005.c b/hw/input/tsc2005.c index db2b80e35f..941f163d36 100644 --- a/hw/input/tsc2005.c +++ b/hw/input/tsc2005.c @@ -454,7 +454,7 @@ static const VMStateDescription vmstate_tsc2005 = { .version_id = 2, .minimum_version_id = 2, .post_load = tsc2005_post_load, - .fields = (VMStateField []) { + .fields = (const VMStateField []) { VMSTATE_BOOL(pressure, TSC2005State), VMSTATE_BOOL(irq, TSC2005State), VMSTATE_BOOL(command, TSC2005State), -- cgit v1.2.3