diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2023-12-21 14:16:15 +1100 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-12-29 11:17:30 +1100 |
| commit | 45b1f81d9088d102c4b6739281d93bbed88666d4 (patch) | |
| tree | 14ea807aa4696c2cee57f979e4083cfdcbd59e0d /hw/intc/heathrow_pic.c | |
| parent | af0f07dfc7ce56a944c38d872b7d4502178e6948 (diff) | |
| download | focaccia-qemu-45b1f81d9088d102c4b6739281d93bbed88666d4.tar.gz focaccia-qemu-45b1f81d9088d102c4b6739281d93bbed88666d4.zip | |
hw/intc: Constify VMState
Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20231221031652.119827-35-richard.henderson@linaro.org>
Diffstat (limited to 'hw/intc/heathrow_pic.c')
| -rw-r--r-- | hw/intc/heathrow_pic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/intc/heathrow_pic.c b/hw/intc/heathrow_pic.c index 13048a2735..c2946ba1ad 100644 --- a/hw/intc/heathrow_pic.c +++ b/hw/intc/heathrow_pic.c @@ -141,7 +141,7 @@ static const VMStateDescription vmstate_heathrow_pic_one = { .name = "heathrow_pic_one", .version_id = 0, .minimum_version_id = 0, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT32(events, HeathrowPICState), VMSTATE_UINT32(mask, HeathrowPICState), VMSTATE_UINT32(levels, HeathrowPICState), @@ -154,7 +154,7 @@ static const VMStateDescription vmstate_heathrow = { .name = "heathrow_pic", .version_id = 1, .minimum_version_id = 1, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_STRUCT_ARRAY(pics, HeathrowState, 2, 1, vmstate_heathrow_pic_one, HeathrowPICState), VMSTATE_END_OF_LIST() |