mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
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>
This commit is contained in:
parent
ac701a4f98
commit
cfa52e09c4
7 changed files with 10 additions and 10 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue