diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:08 +1100 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-29 11:17:30 +1100 |
| commit | 63e6b5645021bb2b545a39f2896a42da5c300d9c (patch) | |
| tree | e15209bad00e16e4777d4a30198e4c6b67eba1b7 /hw/dma/pl080.c | |
| parent | f0613160d20f0a3484ea8b6d7cb085c22a84682f (diff) | |
| download | focaccia-qemu-63e6b5645021bb2b545a39f2896a42da5c300d9c.tar.gz focaccia-qemu-63e6b5645021bb2b545a39f2896a42da5c300d9c.zip | |
hw/dma: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-28-richard.henderson@linaro.org>
Diffstat (limited to 'hw/dma/pl080.c')
| -rw-r--r-- | hw/dma/pl080.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/dma/pl080.c b/hw/dma/pl080.c index 2627307cc8..1e49c22e93 100644 --- a/hw/dma/pl080.c +++ b/hw/dma/pl080.c @@ -39,7 +39,7 @@ static const VMStateDescription vmstate_pl080_channel = { .name = "pl080_channel", .version_id = 1, .minimum_version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT32(src, pl080_channel), VMSTATE_UINT32(dest, pl080_channel), VMSTATE_UINT32(lli, pl080_channel), @@ -53,7 +53,7 @@ static const VMStateDescription vmstate_pl080 = { .name = "pl080", .version_id = 1, .minimum_version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT8(tc_int, PL080State), VMSTATE_UINT8(tc_mask, PL080State), VMSTATE_UINT8(err_int, PL080State), |