summary refs log tree commit diff stats
path: root/hw/misc/bcm2835_thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/bcm2835_thermal.c')
-rw-r--r--hw/misc/bcm2835_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/bcm2835_thermal.c b/hw/misc/bcm2835_thermal.c
index c6f3b1ad60..ee7816b8a5 100644
--- a/hw/misc/bcm2835_thermal.c
+++ b/hw/misc/bcm2835_thermal.c
@@ -105,7 +105,7 @@ static const VMStateDescription bcm2835_thermal_vmstate = {
     .name = "bcm2835_thermal",
     .version_id = 1,
     .minimum_version_id = 1,
-    .fields = (VMStateField[]) {
+    .fields = (const VMStateField[]) {
         VMSTATE_UINT32(ctl, Bcm2835ThermalState),
         VMSTATE_END_OF_LIST()
     }