summary refs log tree commit diff stats
path: root/hw/virtio/vhost-user-scmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/virtio/vhost-user-scmi.c')
-rw-r--r--hw/virtio/vhost-user-scmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/virtio/vhost-user-scmi.c b/hw/virtio/vhost-user-scmi.c
index 04cd36dd2e..7a0f622181 100644
--- a/hw/virtio/vhost-user-scmi.c
+++ b/hw/virtio/vhost-user-scmi.c
@@ -279,7 +279,7 @@ static const Property vu_scmi_properties[] = {
     DEFINE_PROP_CHR("chardev", VHostUserSCMI, chardev),
 };
 
-static void vu_scmi_class_init(ObjectClass *klass, void *data)
+static void vu_scmi_class_init(ObjectClass *klass, const void *data)
 {
     DeviceClass *dc = DEVICE_CLASS(klass);
     VirtioDeviceClass *vdc = VIRTIO_DEVICE_CLASS(klass);