aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/sclpcpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/s390x/sclpcpu.c')
-rw-r--r--hw/s390x/sclpcpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/sclpcpu.c b/hw/s390x/sclpcpu.c
index a178a9d..4b6ebfe 100644
--- a/hw/s390x/sclpcpu.c
+++ b/hw/s390x/sclpcpu.c
@@ -73,7 +73,7 @@ static int read_event_data(SCLPEvent *event, EventBufferHeader *evt_buf_hdr,
return 1;
}
-static void sclp_cpu_class_init(ObjectClass *oc, void *data)
+static void sclp_cpu_class_init(ObjectClass *oc, const void *data)
{
SCLPEventClass *k = SCLP_EVENT_CLASS(oc);
DeviceClass *dc = DEVICE_CLASS(oc);