[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 43/71] hw/openrisc: Constify VMState
From: |
Richard Henderson |
Subject: |
[PATCH v2 43/71] hw/openrisc: Constify VMState |
Date: |
Thu, 21 Dec 2023 14:16:24 +1100 |
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
hw/openrisc/cputimer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/openrisc/cputimer.c b/hw/openrisc/cputimer.c
index 10163b391b..835986c4db 100644
--- a/hw/openrisc/cputimer.c
+++ b/hw/openrisc/cputimer.c
@@ -145,7 +145,7 @@ static const VMStateDescription vmstate_or1k_timer = {
.name = "or1k_timer",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT32(ttcr, OR1KTimerState),
VMSTATE_UINT64(last_clk, OR1KTimerState),
VMSTATE_END_OF_LIST()
--
2.34.1
- [PATCH v2 33/71] hw/input: Constify VMState, (continued)
- [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, 2023/12/20
- [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 <=
- [PATCH v2 44/71] hw/pci: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 45/71] hw/pci-bridge: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 46/71] hw/pci-host: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 47/71] hw/ppc: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 48/71] hw/riscv: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 49/71] hw/rtc: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 50/71] hw/s390x: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 51/71] hw/scsi: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 52/71] hw/sd: Constify VMState, Richard Henderson, 2023/12/20
- [PATCH v2 53/71] hw/sensor: Constify VMState, Richard Henderson, 2023/12/20