diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:14 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-29 11:17:30 +1100 |
commit | af0f07dfc7ce56a944c38d872b7d4502178e6948 (patch) | |
tree | 01df440ebb836f7fb4260ebdab693c9ce521812e /hw/input/tsc210x.c | |
parent | 8595c05422415e8a8d26f68fc0ddfd3083544878 (diff) |
hw/input: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-34-richard.henderson@linaro.org>
Diffstat (limited to 'hw/input/tsc210x.c')
-rw-r--r-- | hw/input/tsc210x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/input/tsc210x.c b/hw/input/tsc210x.c index 950506fb38..c4e32c7a42 100644 --- a/hw/input/tsc210x.c +++ b/hw/input/tsc210x.c @@ -1017,7 +1017,7 @@ static int tsc210x_post_load(void *opaque, int version_id) return 0; } -static VMStateField vmstatefields_tsc210x[] = { +static const VMStateField vmstatefields_tsc210x[] = { VMSTATE_BOOL(enabled, TSC210xState), VMSTATE_BOOL(host_mode, TSC210xState), VMSTATE_BOOL(irq, TSC210xState), |