summaryrefslogtreecommitdiff
path: root/hw/g364fb.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/g364fb.c')
-rw-r--r--hw/g364fb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/g364fb.c b/hw/g364fb.c
index 66d0044c06..9c63bddc59 100644
--- a/hw/g364fb.c
+++ b/hw/g364fb.c
@@ -574,9 +574,9 @@ static TypeInfo g364fb_sysbus_info = {
.class_init = g364fb_sysbus_class_init,
};
-static void g364fb_register(void)
+static void g364fb_register_types(void)
{
type_register_static(&g364fb_sysbus_info);
}
-device_init(g364fb_register);
+type_init(g364fb_register_types)