modules: add qxl module annotations
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Jose R. Ziviani <jziviani@suse.de> Message-Id: <20210624103836.2382472-6-kraxel@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
af19eecf84
commit
ec604e0a8a
@ -2522,6 +2522,7 @@ static const TypeInfo qxl_primary_info = {
|
||||
.parent = TYPE_PCI_QXL,
|
||||
.class_init = qxl_primary_class_init,
|
||||
};
|
||||
module_obj("qxl-vga");
|
||||
|
||||
static void qxl_secondary_class_init(ObjectClass *klass, void *data)
|
||||
{
|
||||
@ -2538,6 +2539,7 @@ static const TypeInfo qxl_secondary_info = {
|
||||
.parent = TYPE_PCI_QXL,
|
||||
.class_init = qxl_secondary_class_init,
|
||||
};
|
||||
module_obj("qxl");
|
||||
|
||||
static void qxl_register_types(void)
|
||||
{
|
||||
@ -2547,3 +2549,5 @@ static void qxl_register_types(void)
|
||||
}
|
||||
|
||||
type_init(qxl_register_types)
|
||||
|
||||
module_dep("ui-spice-core");
|
||||
|
Loading…
Reference in New Issue
Block a user