]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/arm/stellaris.c
qom: Put name parameter before value / visitor parameter
[mirror_qemu.git] / hw / arm / stellaris.c
index 97ef566c12016f9c6521591ceaf792918fdbb4e4..7156fb3ece80503469ec85238304cbc1ac0651e6 100644 (file)
@@ -1312,8 +1312,8 @@ static void stellaris_init(MachineState *ms, stellaris_board_info *board)
     qdev_prop_set_uint32(nvic, "num-irq", NUM_IRQ_LINES);
     qdev_prop_set_string(nvic, "cpu-type", ms->cpu_type);
     qdev_prop_set_bit(nvic, "enable-bitband", true);
-    object_property_set_link(OBJECT(nvic), OBJECT(get_system_memory()),
-                                     "memory", &error_abort);
+    object_property_set_link(OBJECT(nvic), "memory",
+                             OBJECT(get_system_memory()), &error_abort);
     /* This will exit with an error if the user passed us a bad cpu_type */
     sysbus_realize_and_unref(SYS_BUS_DEVICE(nvic), &error_fatal);