summary refs log tree commit diff stats
path: root/hw/s390x/vhost-scsi-ccw.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/s390x/vhost-scsi-ccw.c')
-rw-r--r--hw/s390x/vhost-scsi-ccw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/vhost-scsi-ccw.c b/hw/s390x/vhost-scsi-ccw.c
index e6bf0c55bc..8341b23a95 100644
--- a/hw/s390x/vhost-scsi-ccw.c
+++ b/hw/s390x/vhost-scsi-ccw.c
@@ -46,7 +46,7 @@ static const Property vhost_ccw_scsi_properties[] = {
                        VIRTIO_CCW_MAX_REV),
 };
 
-static void vhost_ccw_scsi_class_init(ObjectClass *klass, void *data)
+static void vhost_ccw_scsi_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
     VirtIOCCWDeviceClass *k = VIRTIO_CCW_DEVICE_CLASS(klass);