mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -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
|
@ -525,7 +525,7 @@ static bool is_version_0(void *opaque, int version_id)
|
|||
return version_id == 0;
|
||||
}
|
||||
|
||||
static VMStateDescription vmstate_pxa2xx_dma_chan = {
|
||||
static const VMStateDescription vmstate_pxa2xx_dma_chan = {
|
||||
.name = "pxa2xx_dma_chan",
|
||||
.version_id = 1,
|
||||
.minimum_version_id = 1,
|
||||
|
@ -540,7 +540,7 @@ static VMStateDescription vmstate_pxa2xx_dma_chan = {
|
|||
},
|
||||
};
|
||||
|
||||
static VMStateDescription vmstate_pxa2xx_dma = {
|
||||
static const VMStateDescription vmstate_pxa2xx_dma = {
|
||||
.name = "pxa2xx_dma",
|
||||
.version_id = 1,
|
||||
.minimum_version_id = 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue