]> git.proxmox.com Git - qemu.git/blobdiff - hw/etraxfs_timer.c
qom: Unify type registration
[qemu.git] / hw / etraxfs_timer.c
index b71c5ee9d5e997a3af9c1fec2ef1af44bade8198..9076a49884e8626b9efb463ffa2e8fef730ac302 100644 (file)
@@ -343,9 +343,9 @@ static TypeInfo etraxfs_timer_info = {
     .class_init    = etraxfs_timer_class_init,
 };
 
-static void etraxfs_timer_register(void)
+static void etraxfs_timer_register_types(void)
 {
     type_register_static(&etraxfs_timer_info);
 }
 
-device_init(etraxfs_timer_register)
+type_init(etraxfs_timer_register_types)