aboutsummaryrefslogtreecommitdiff
path: root/hw/s390x/virtio-ccw-crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/s390x/virtio-ccw-crypto.c')
-rw-r--r--hw/s390x/virtio-ccw-crypto.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/s390x/virtio-ccw-crypto.c b/hw/s390x/virtio-ccw-crypto.c
index 36cfdf8..5720e84 100644
--- a/hw/s390x/virtio-ccw-crypto.c
+++ b/hw/s390x/virtio-ccw-crypto.c
@@ -26,9 +26,8 @@ static void virtio_ccw_crypto_realize(VirtioCcwDevice *ccw_dev, Error **errp)
return;
}
- object_property_set_link(OBJECT(vdev),
- OBJECT(dev->vdev.conf.cryptodev), "cryptodev",
- NULL);
+ object_property_set_link(OBJECT(vdev), "cryptodev",
+ OBJECT(dev->vdev.conf.cryptodev), NULL);
}
static void virtio_ccw_crypto_instance_init(Object *obj)