]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/highbank.c
qom: Unify type registration
[mirror_qemu.git] / hw / highbank.c
index 684178ee3e53fcf5cf45fc42e2a39387c9329c05..b28b4640aa4f8c4e1d5ab8338bfa0a9478cdb968 100644 (file)
@@ -177,12 +177,12 @@ static TypeInfo highbank_regs_info = {
     .class_init    = highbank_regs_class_init,
 };
 
-static void highbank_regs_register_device(void)
+static void highbank_regs_register_types(void)
 {
     type_register_static(&highbank_regs_info);
 }
 
-device_init(highbank_regs_register_device)
+type_init(highbank_regs_register_types)
 
 static struct arm_boot_info highbank_binfo;