qom: Unify type registration
[qemu.git] / hw / debugcon.c
index 3903b2605d1309d915648d06c022d0602c5b189e..14ab326be360a7a35f84497bc829f0adeb86ea20 100644 (file)
@@ -109,9 +109,9 @@ static TypeInfo debugcon_isa_info = {
     .class_init    = debugcon_isa_class_initfn,
 };
 
-static void debugcon_register_devices(void)
+static void debugcon_register_types(void)
 {
     type_register_static(&debugcon_isa_info);
 }
 
-device_init(debugcon_register_devices)
+type_init(debugcon_register_types)
This page took 0.02304 seconds and 4 git commands to generate.