aboutsummaryrefslogtreecommitdiff
path: root/hw/char/ibex_uart.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/char/ibex_uart.c')
-rw-r--r--hw/char/ibex_uart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/char/ibex_uart.c b/hw/char/ibex_uart.c
index 51708c0836..63aae6dc2c 100644
--- a/hw/char/ibex_uart.c
+++ b/hw/char/ibex_uart.c
@@ -488,7 +488,7 @@ static const VMStateDescription vmstate_ibex_uart = {
.version_id = 1,
.minimum_version_id = 1,
.post_load = ibex_uart_post_load,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT8_ARRAY(tx_fifo, IbexUartState,
IBEX_UART_TX_FIFO_SIZE),
VMSTATE_UINT32(tx_level, IbexUartState),