summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/console.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/console.c b/ui/console.c
index 5d73d811c0..f819382b24 100644
--- a/ui/console.c
+++ b/ui/console.c
@@ -2035,8 +2035,7 @@ static const TypeInfo qemu_console_info = {
static void register_types(void)
{
type_register_static(&qemu_console_info);
- register_char_driver_qapi("vc", CHARDEV_BACKEND_KIND_VC,
- qemu_chr_parse_vc);
+ register_char_driver("vc", CHARDEV_BACKEND_KIND_VC, qemu_chr_parse_vc);
}
type_init(register_types);