aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/virtio-ccw-input.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/s390x/virtio-ccw-input.c')
-rw-r--r--hw/s390x/virtio-ccw-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/virtio-ccw-input.c b/hw/s390x/virtio-ccw-input.c
index 370b776790..b257dfd467 100644
--- a/hw/s390x/virtio-ccw-input.c
+++ b/hw/s390x/virtio-ccw-input.c
@@ -38,7 +38,7 @@ static void virtio_ccw_input_class_init(ObjectClass *klass, void *data)
VirtIOCCWDeviceClass *k = VIRTIO_CCW_DEVICE_CLASS(klass);
k->realize = virtio_ccw_input_realize;
- dc->props = virtio_ccw_input_properties;
+ device_class_set_props(dc, virtio_ccw_input_properties);
set_bit(DEVICE_CATEGORY_INPUT, dc->categories);
}