diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:09 +1100 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-29 11:17:30 +1100 |
commit | 3b9e779b86700d217cf824e7d77ed3ba316ef918 (patch) | |
tree | d354161c61e11d00f2210d80df6dd087d5058721 /hw/gpio/mpc8xxx.c | |
parent | 63e6b5645021bb2b545a39f2896a42da5c300d9c (diff) | |
download | qemu-3b9e779b86700d217cf824e7d77ed3ba316ef918.zip qemu-3b9e779b86700d217cf824e7d77ed3ba316ef918.tar.gz qemu-3b9e779b86700d217cf824e7d77ed3ba316ef918.tar.bz2 |
hw/gpio: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20231221031652.119827-29-richard.henderson@linaro.org>
Diffstat (limited to 'hw/gpio/mpc8xxx.c')
-rw-r--r-- | hw/gpio/mpc8xxx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/gpio/mpc8xxx.c b/hw/gpio/mpc8xxx.c index cb42acb..0b3f9e5 100644 --- a/hw/gpio/mpc8xxx.c +++ b/hw/gpio/mpc8xxx.c @@ -48,7 +48,7 @@ static const VMStateDescription vmstate_mpc8xxx_gpio = { .name = "mpc8xxx_gpio", .version_id = 1, .minimum_version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT32(dir, MPC8XXXGPIOState), VMSTATE_UINT32(odr, MPC8XXXGPIOState), VMSTATE_UINT32(dat, MPC8XXXGPIOState), |