aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/nrf51_rng.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/nrf51_rng.c')
-rw-r--r--hw/misc/nrf51_rng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/nrf51_rng.c b/hw/misc/nrf51_rng.c
index fc86e1b697..2d76c45718 100644
--- a/hw/misc/nrf51_rng.c
+++ b/hw/misc/nrf51_rng.c
@@ -231,7 +231,7 @@ static const VMStateDescription vmstate_rng = {
.name = "nrf51_soc.rng",
.version_id = 1,
.minimum_version_id = 1,
- .fields = (VMStateField[]) {
+ .fields = (const VMStateField[]) {
VMSTATE_UINT32(active, NRF51RNGState),
VMSTATE_UINT32(event_valrdy, NRF51RNGState),
VMSTATE_UINT32(shortcut_stop_on_valrdy, NRF51RNGState),