summaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-09-02 11:24:17 +0100
committerPeter Maydell <peter.maydell@linaro.org>2014-09-16 23:36:32 +0100
commite4d50d47a9eb15f42bdd561803a29a4d7c3eb8ec (patch)
treee38ebacc27773521a6d408038936d3a773ad1f5d /ui
parenta61ae7f88ce5c4c781d89b789118bf19a17b028f (diff)
downloadqemu-e4d50d47a9eb15f42bdd561803a29a4d7c3eb8ec.tar.gz
qemu-char: Rename register_char_driver_qapi() to register_char_driver()
Now we have removed the legacy register_char_driver() we can rename register_char_driver_qapi() to the more obvious and shorter name. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1409653457-27863-6-git-send-email-peter.maydell@linaro.org
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);