]> Git Repo - qemu.git/blobdiff - hw/ac97.c
qom: Unify type registration
[qemu.git] / hw / ac97.c
index 7bf91714873feef5a6afd3e3956572b05962087d..c0fd0197a028eecbbda04b64e27736f4056ec4e9 100644 (file)
--- a/hw/ac97.c
+++ b/hw/ac97.c
@@ -1372,9 +1372,9 @@ static TypeInfo ac97_info = {
     .class_init    = ac97_class_init,
 };
 
-static void ac97_register (void)
+static void ac97_register_types (void)
 {
     type_register_static (&ac97_info);
 }
-device_init (ac97_register);
 
+type_init (ac97_register_types)
This page took 0.02372 seconds and 4 git commands to generate.