qom: Unify type registration
[qemu.git] / hw / tmp105.c
index a3bdd91d40247d3d08416ce05edfba3cf3e78614..8e8dbd94eba1876f211bdd891f9375c864c814a9 100644 (file)
@@ -245,9 +245,9 @@ static TypeInfo tmp105_info = {
     .class_init    = tmp105_class_init,
 };
 
-static void tmp105_register_devices(void)
+static void tmp105_register_types(void)
 {
     type_register_static(&tmp105_info);
 }
 
-device_init(tmp105_register_devices)
+type_init(tmp105_register_types)
This page took 0.025303 seconds and 4 git commands to generate.