aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/virtio-ccw-rng.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/s390x/virtio-ccw-rng.c')
-rw-r--r--hw/s390x/virtio-ccw-rng.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/s390x/virtio-ccw-rng.c b/hw/s390x/virtio-ccw-rng.c
index 513f85ac63..8cf01ce76c 100644
--- a/hw/s390x/virtio-ccw-rng.c
+++ b/hw/s390x/virtio-ccw-rng.c
@@ -27,8 +27,7 @@ static void virtio_ccw_rng_realize(VirtioCcwDevice *ccw_dev, Error **errp)
return;
}
- object_property_set_link(OBJECT(dev),
- OBJECT(dev->vdev.conf.rng), "rng",
+ object_property_set_link(OBJECT(dev), "rng", OBJECT(dev->vdev.conf.rng),
NULL);
}