summary refs log tree commit diff stats
path: root/hw/misc/bcm2835_mphi.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/misc/bcm2835_mphi.c')
-rw-r--r--hw/misc/bcm2835_mphi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/misc/bcm2835_mphi.c b/hw/misc/bcm2835_mphi.c
index 7309cf22fc..55d79e7e87 100644
--- a/hw/misc/bcm2835_mphi.c
+++ b/hw/misc/bcm2835_mphi.c
@@ -166,7 +166,7 @@ const VMStateDescription vmstate_mphi_state = {
     }
 };
 
-static void mphi_class_init(ObjectClass *klass, void *data)
+static void mphi_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);