]> git.proxmox.com Git - qemu.git/blobdiff - hw/sun4c_intctl.c
qom: Unify type registration
[qemu.git] / hw / sun4c_intctl.c
index 081d6cc8bd239a8faf6de91e5ad794e9ab41462b..8dfa5ecab6abd8a446c830dcc65ac1c8870019e6 100644 (file)
@@ -223,9 +223,9 @@ static TypeInfo sun4c_intctl_info = {
     .class_init    = sun4c_intctl_class_init,
 };
 
-static void sun4c_intctl_register_devices(void)
+static void sun4c_intctl_register_types(void)
 {
     type_register_static(&sun4c_intctl_info);
 }
 
-device_init(sun4c_intctl_register_devices)
+type_init(sun4c_intctl_register_types)