summaryrefslogtreecommitdiffstats
path: root/hw/gus.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/gus.c')
-rw-r--r--hw/gus.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/gus.c b/hw/gus.c
index 2054707..840d098 100644
--- a/hw/gus.c
+++ b/hw/gus.c
@@ -324,8 +324,9 @@ static TypeInfo gus_info = {
.class_init = gus_class_initfn,
};
-static void gus_register (void)
+static void gus_register_types (void)
{
type_register_static (&gus_info);
}
-device_init (gus_register)
+
+type_init (gus_register_types)
OpenPOWER on IntegriCloud