]> Git Repo - qemu.git/blobdiff - hw/arm/strongarm.c
qdev: set properties with device_class_set_props()
[qemu.git] / hw / arm / strongarm.c
index c6776e847959a77b3dd81437a057f8a3db960c3b..cd8a99aaf2e411cfcba98f15d20a54c4b45f4856 100644 (file)
@@ -1327,7 +1327,7 @@ static void strongarm_uart_class_init(ObjectClass *klass, void *data)
     dc->desc = "StrongARM UART controller";
     dc->reset = strongarm_uart_reset;
     dc->vmsd = &vmstate_strongarm_uart_regs;
-    dc->props = strongarm_uart_properties;
+    device_class_set_props(dc, strongarm_uart_properties);
     dc->realize = strongarm_uart_realize;
 }
 
This page took 0.02387 seconds and 4 git commands to generate.