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/dma | |
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/dma')
-rw-r--r-- | hw/dma/pxa2xx_dma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/dma/pxa2xx_dma.c b/hw/dma/pxa2xx_dma.c index b3707ff..fa896f7 100644 --- a/hw/dma/pxa2xx_dma.c +++ b/hw/dma/pxa2xx_dma.c @@ -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, |