summary refs log tree commit diff stats
path: root/ui/console-vc.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/console-vc.c')
-rw-r--r--ui/console-vc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/console-vc.c b/ui/console-vc.c
index 53fcee88f4..fe20579832 100644
--- a/ui/console-vc.c
+++ b/ui/console-vc.c
@@ -1073,6 +1073,6 @@ void qemu_console_early_init(void)
 {
     /* set the default vc driver */
     if (!object_class_by_name(TYPE_CHARDEV_VC)) {
-        type_register(&char_vc_type_info);
+        type_register_static(&char_vc_type_info);
     }
 }