aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/virtio-ccw-balloon.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/s390x/virtio-ccw-balloon.c')
-rw-r--r--hw/s390x/virtio-ccw-balloon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/s390x/virtio-ccw-balloon.c b/hw/s390x/virtio-ccw-balloon.c
index 7088612f6b..5d28e72345 100644
--- a/hw/s390x/virtio-ccw-balloon.c
+++ b/hw/s390x/virtio-ccw-balloon.c
@@ -52,7 +52,7 @@ static void virtio_ccw_balloon_class_init(ObjectClass *klass, void *data)
VirtIOCCWDeviceClass *k = VIRTIO_CCW_DEVICE_CLASS(klass);
k->realize = virtio_ccw_balloon_realize;
- dc->props = virtio_ccw_balloon_properties;
+ device_class_set_props(dc, virtio_ccw_balloon_properties);
set_bit(DEVICE_CATEGORY_MISC, dc->categories);
}