summary refs log tree commit diff stats
path: root/hw/sensor/max31785.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/sensor/max31785.c')
-rw-r--r--hw/sensor/max31785.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sensor/max31785.c b/hw/sensor/max31785.c
index 3577a7c218..c75581455a 100644
--- a/hw/sensor/max31785.c
+++ b/hw/sensor/max31785.c
@@ -544,7 +544,7 @@ static void max31785_init(Object *obj)
     }
 }
 
-static void max31785_class_init(ObjectClass *klass, void *data)
+static void max31785_class_init(ObjectClass *klass, const void *data)
 {
     ResettableClass *rc = RESETTABLE_CLASS(klass);
     DeviceClass *dc = DEVICE_CLASS(klass);