[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 35/71] hw/ipack: Constify VMState
From: |
Richard Henderson |
Subject: |
[PATCH v2 35/71] hw/ipack: Constify VMState |
Date: |
Thu, 21 Dec 2023 14:16:16 +1100 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/ipack/ipack.c | 2 +-
hw/ipack/tpci200.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/ipack/ipack.c b/hw/ipack/ipack.c
index ae20f36da6..c39dbb481f 100644
--- a/hw/ipack/ipack.c
+++ b/hw/ipack/ipack.c
@@ -93,7 +93,7 @@ const VMStateDescription vmstate_ipack_device = {
.name = "ipack_device",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_INT32(slot, IPackDevice),
VMSTATE_END_OF_LIST()
}
diff --git a/hw/ipack/tpci200.c b/hw/ipack/tpci200.c
index 6b3edbf017..88eef4b830 100644
--- a/hw/ipack/tpci200.c
+++ b/hw/ipack/tpci200.c
@@ -619,7 +619,7 @@ static const VMStateDescription vmstate_tpci200 = {
.name = "tpci200",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_PCI_DEVICE(dev, TPCI200State),
VMSTATE_BOOL_ARRAY(big_endian, TPCI200State, 3),
VMSTATE_UINT8_ARRAY(ctrl, TPCI200State, N_MODULES),
--
2.34.1
- [PATCH v2 25/71] hw/char: Constify VMState, (continued)
- [PATCH v2 25/71] hw/char: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 26/71] hw/display: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 27/71] hw/dma: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 28/71] hw/gpio: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 29/71] hw/hyperv: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 30/71] hw/i2c: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 31/71] hw/i386: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 32/71] hw/ide: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 33/71] hw/input: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 34/71] hw/intc: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 35/71] hw/ipack: Constify VMState,
Richard Henderson <=
- [PATCH v2 36/71] hw/ipmi: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 37/71] hw/isa: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 38/71] hw/loongarch: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 39/71] hw/m68k: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 40/71] hw/misc: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 41/71] hw/net: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 42/71] hw/nvram: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 43/71] hw/openrisc: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 44/71] hw/pci: Constify VMState, Richard Henderson, 2023/12/20