]> Git Repo - qemu.git/blobdiff - hw/ppc4xx_pci.c
qom: Unify type registration
[qemu.git] / hw / ppc4xx_pci.c
index d11f120d321b1ecf902c7edef94632056e9f273b..203c3cdc47c433e866336a1c9afc1d7e5fc6a7b5 100644 (file)
@@ -400,9 +400,10 @@ static TypeInfo ppc4xx_pcihost_info = {
     .class_init    = ppc4xx_pcihost_class_init,
 };
 
-static void ppc4xx_pci_register(void)
+static void ppc4xx_pci_register_types(void)
 {
     type_register_static(&ppc4xx_pcihost_info);
     type_register_static(&ppc4xx_host_bridge_info);
 }
-device_init(ppc4xx_pci_register);
+
+type_init(ppc4xx_pci_register_types)
This page took 0.025297 seconds and 4 git commands to generate.