aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/virtio-ccw-gpu.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/s390x/virtio-ccw-gpu.c')
-rw-r--r--hw/s390x/virtio-ccw-gpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/virtio-ccw-gpu.c b/hw/s390x/virtio-ccw-gpu.c
index be46ca7a96..f69e3ff5a0 100644
--- a/hw/s390x/virtio-ccw-gpu.c
+++ b/hw/s390x/virtio-ccw-gpu.c
@@ -48,7 +48,7 @@ static void virtio_ccw_gpu_class_init(ObjectClass *klass, void *data)
VirtIOCCWDeviceClass *k = VIRTIO_CCW_DEVICE_CLASS(klass);
k->realize = virtio_ccw_gpu_realize;
- dc->props = virtio_ccw_gpu_properties;
+ device_class_set_props(dc, virtio_ccw_gpu_properties);
dc->hotpluggable = false;
set_bit(DEVICE_CATEGORY_DISPLAY, dc->categories);
}