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/xlnx_dpdma.c | |
parent | f0613160d20f0a3484ea8b6d7cb085c22a84682f (diff) |
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/xlnx_dpdma.c')
-rw-r--r-- | hw/dma/xlnx_dpdma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dma/xlnx_dpdma.c b/hw/dma/xlnx_dpdma.c index dd66be5265..1f5cd64ed1 100644 --- a/hw/dma/xlnx_dpdma.c +++ b/hw/dma/xlnx_dpdma.c @@ -277,7 +277,7 @@ static inline bool xlnx_dpdma_desc_ignore_done_bit(DPDMADescriptor *desc) static const VMStateDescription vmstate_xlnx_dpdma = { .name = TYPE_XLNX_DPDMA, .version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT32_ARRAY(registers, XlnxDPDMAState, XLNX_DPDMA_REG_ARRAY_SIZE), VMSTATE_BOOL_ARRAY(operation_finished, XlnxDPDMAState, 6), |