diff options
author | Markus Armbruster <armbru@redhat.com> | 2020-06-10 07:32:39 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2020-06-15 22:06:04 +0200 |
commit | 7089e0cc468597556bb208ae8e3853499b746ebd (patch) | |
tree | 6d32307ce6fd763f4267a385a18ed0387f00c2fb /hw/sd/aspeed_sdhci.c | |
parent | 5a147c8c51d42fcdf5befc2982715b4b407f612e (diff) | |
download | qemu-7089e0cc468597556bb208ae8e3853499b746ebd.zip qemu-7089e0cc468597556bb208ae8e3853499b746ebd.tar.gz qemu-7089e0cc468597556bb208ae8e3853499b746ebd.tar.bz2 |
sysbus: Convert qdev_set_parent_bus() use with Coccinelle, part 4
This is still the same transformation as in the previous commits, but
here the sysbus_init_child_obj() and its matching realize in are in
separate files. Fortunately, there's just one realize left to
convert.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <20200610053247.1583243-51-armbru@redhat.com>
Diffstat (limited to 'hw/sd/aspeed_sdhci.c')
-rw-r--r-- | hw/sd/aspeed_sdhci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sd/aspeed_sdhci.c b/hw/sd/aspeed_sdhci.c index 6a039a1..538d3ba 100644 --- a/hw/sd/aspeed_sdhci.c +++ b/hw/sd/aspeed_sdhci.c @@ -145,7 +145,7 @@ static void aspeed_sdhci_realize(DeviceState *dev, Error **errp) return; } - object_property_set_bool(sdhci_slot, true, "realized", &err); + sysbus_realize(sbd_slot, &err); if (err) { error_propagate(errp, err); return; |