]> Git Repo - qemu.git/blobdiff - hw/sga.c
qom: Unify type registration
[qemu.git] / hw / sga.c
index b08e3c5aea95a8440ea383bd5904649490d011b8..a666349f82128760525ebeda54ffb4fdfa705187 100644 (file)
--- a/hw/sga.c
+++ b/hw/sga.c
@@ -55,9 +55,9 @@ static TypeInfo sga_info = {
     .class_init    = sga_class_initfn,
 };
 
-static void sga_register(void)
+static void sga_register_types(void)
 {
     type_register_static(&sga_info);
 }
 
-device_init(sga_register);
+type_init(sga_register_types)
This page took 0.025863 seconds and 4 git commands to generate.