]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/microblaze/petalogix_ml605_mmu.c
qom: Drop parameter @errp of object_property_add() & friends
[mirror_qemu.git] / hw / microblaze / petalogix_ml605_mmu.c
index 0a2640c40b181e260125a8eb8d907ebe672d91c6..536571db7faebe66f2cee340c315d4f6f9a1411f 100644 (file)
@@ -138,10 +138,8 @@ petalogix_ml605_init(MachineState *machine)
     dma = qdev_create(NULL, "xlnx.axi-dma");
 
     /* FIXME: attach to the sysbus instead */
-    object_property_add_child(qdev_get_machine(), "xilinx-eth", OBJECT(eth0),
-                              NULL);
-    object_property_add_child(qdev_get_machine(), "xilinx-dma", OBJECT(dma),
-                              NULL);
+    object_property_add_child(qdev_get_machine(), "xilinx-eth", OBJECT(eth0));
+    object_property_add_child(qdev_get_machine(), "xilinx-dma", OBJECT(dma));
 
     ds = object_property_get_link(OBJECT(dma),
                                   "axistream-connected-target", NULL);