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 1c1b0671cc..33bfc91c7a 100644
--- a/hw/misc/bcm2835_thermal.c
+++ b/hw/misc/bcm2835_thermal.c
@@ -113,7 +113,7 @@ static const VMStateDescription bcm2835_thermal_vmstate = {
     }
 };
 
-static void bcm2835_thermal_class_init(ObjectClass *klass, void *data)
+static void bcm2835_thermal_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);