diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2021-03-13 18:11:48 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2021-05-02 17:24:50 +0200 |
commit | cfa52e09c4ddf6698e3e7b590ab3b9e2a01977dd (patch) | |
tree | e7476bce1498d8669ef340cbec30169828886af9 /hw/arm/z2.c | |
parent | ac701a4f98d68156fcddbe3bb3f7c3869b8c646e (diff) | |
download | qemu-cfa52e09c4ddf6698e3e7b590ab3b9e2a01977dd.zip qemu-cfa52e09c4ddf6698e3e7b590ab3b9e2a01977dd.tar.gz qemu-cfa52e09c4ddf6698e3e7b590ab3b9e2a01977dd.tar.bz2 |
hw/arm: Constify VMStateDescription
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210313171150.2122409-2-f4bug@amsat.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/arm/z2.c')
-rw-r--r-- | hw/arm/z2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/arm/z2.c b/hw/arm/z2.c index 5099bd8..9c1e876 100644 --- a/hw/arm/z2.c +++ b/hw/arm/z2.c @@ -162,7 +162,7 @@ static void zipit_lcd_realize(SSIPeripheral *dev, Error **errp) z->pos = 0; } -static VMStateDescription vmstate_zipit_lcd_state = { +static const VMStateDescription vmstate_zipit_lcd_state = { .name = "zipit-lcd", .version_id = 2, .minimum_version_id = 2, @@ -268,7 +268,7 @@ static uint8_t aer915_recv(I2CSlave *slave) return retval; } -static VMStateDescription vmstate_aer915_state = { +static const VMStateDescription vmstate_aer915_state = { .name = "aer915", .version_id = 1, .minimum_version_id = 1, |