summary refs log tree commit diff stats
path: root/hw/s390x/ap-device.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/s390x/ap-device.c')
-rw-r--r--hw/s390x/ap-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/ap-device.c b/hw/s390x/ap-device.c
index 237d1f19c5..733104403e 100644
--- a/hw/s390x/ap-device.c
+++ b/hw/s390x/ap-device.c
@@ -12,7 +12,7 @@
 #include "qapi/error.h"
 #include "hw/s390x/ap-device.h"
 
-static void ap_class_init(ObjectClass *klass, void *data)
+static void ap_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);