summaryrefslogtreecommitdiff
path: root/hw/vga-isa.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/vga-isa.c')
-rw-r--r--hw/vga-isa.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/vga-isa.c b/hw/vga-isa.c
index 8d3ff0d47b..4bcc4db62f 100644
--- a/hw/vga-isa.c
+++ b/hw/vga-isa.c
@@ -85,8 +85,9 @@ static TypeInfo vga_info = {
.class_init = vga_class_initfn,
};
-static void vga_register(void)
+static void vga_register_types(void)
{
type_register_static(&vga_info);
}
-device_init(vga_register)
+
+type_init(vga_register_types)