Skip to content

Commit

Permalink
modules: add chardev module annotations
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jose R. Ziviani <jziviani@suse.de>
Message-Id: <20210624103836.2382472-8-kraxel@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
kraxel authored and bonzini committed Jul 8, 2021
1 parent 42b7666 commit 19d37b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions chardev/baum.c
Expand Up @@ -680,6 +680,7 @@ static const TypeInfo char_braille_type_info = {
.instance_finalize = char_braille_finalize,
.class_init = char_braille_class_init,
};
module_obj(TYPE_CHARDEV_BRAILLE);

static void register_types(void)
{
Expand Down
4 changes: 4 additions & 0 deletions chardev/spice.c
Expand Up @@ -366,6 +366,7 @@ static const TypeInfo char_spice_type_info = {
.class_init = char_spice_class_init,
.abstract = true,
};
module_obj(TYPE_CHARDEV_SPICE);

static void char_spicevmc_class_init(ObjectClass *oc, void *data)
{
Expand Down Expand Up @@ -396,6 +397,7 @@ static const TypeInfo char_spiceport_type_info = {
.parent = TYPE_CHARDEV_SPICE,
.class_init = char_spiceport_class_init,
};
module_obj(TYPE_CHARDEV_SPICEPORT);

static void register_types(void)
{
Expand All @@ -405,3 +407,5 @@ static void register_types(void)
}

type_init(register_types);

module_dep("ui-spice-core");

0 comments on commit 19d37b3

Please sign in to comment.