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/spitz.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/spitz.c')
-rw-r--r-- | hw/arm/spitz.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/arm/spitz.c b/hw/arm/spitz.c index 6b3bf98..b45a929 100644 --- a/hw/arm/spitz.c +++ b/hw/arm/spitz.c @@ -1134,7 +1134,7 @@ static bool is_version_0(void *opaque, int version_id) return version_id == 0; } -static VMStateDescription vmstate_sl_nand_info = { +static const VMStateDescription vmstate_sl_nand_info = { .name = "sl-nand", .version_id = 0, .minimum_version_id = 0, @@ -1170,7 +1170,7 @@ static const TypeInfo sl_nand_info = { .class_init = sl_nand_class_init, }; -static VMStateDescription vmstate_spitz_kbd = { +static const VMStateDescription vmstate_spitz_kbd = { .name = "spitz-keyboard", .version_id = 1, .minimum_version_id = 0, |