[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4 07/34] modules: add chardev module annotations
From: |
Gerd Hoffmann |
Subject: |
[PATCH v4 07/34] modules: add chardev module annotations |
Date: |
Thu, 24 Jun 2021 12:38:09 +0200 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
chardev/baum.c | 1 +
chardev/spice.c | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/chardev/baum.c b/chardev/baum.c
index 5deca778bc44..79d618e35045 100644
--- a/chardev/baum.c
+++ b/chardev/baum.c
@@ -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)
{
diff --git a/chardev/spice.c b/chardev/spice.c
index 1104426e3a11..3ffb3fdc0dac 100644
--- a/chardev/spice.c
+++ b/chardev/spice.c
@@ -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)
{
@@ -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)
{
@@ -405,3 +407,5 @@ static void register_types(void)
}
type_init(register_types);
+
+module_dep("ui-spice-core");
--
2.31.1
- [PATCH v4 00/34] modules: add meta-data database, Gerd Hoffmann, 2021/06/24
- [PATCH v4 01/34] modules: add modinfo macros, Gerd Hoffmann, 2021/06/24
- [PATCH v4 03/34] modules: generate modinfo.c, Gerd Hoffmann, 2021/06/24
- [PATCH v4 04/34] modules: check if all dependencies can be satisfied, Gerd Hoffmann, 2021/06/24
- [PATCH v4 02/34] modules: collect module meta-data, Gerd Hoffmann, 2021/06/24
- [PATCH v4 05/34] modules: add qxl module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 06/34] modules: add virtio-gpu module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 09/34] modules: add usb-redir module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 07/34] modules: add chardev module annotations,
Gerd Hoffmann <=
- [PATCH v4 08/34] modules: add audio module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 10/34] modules: add ccid module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 11/34] modules: add ui module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 12/34] modules: add s390x module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 13/34] modules: add block module annotations, Gerd Hoffmann, 2021/06/24
- [PATCH v4 14/34] modules: use modinfo for dependencies, Gerd Hoffmann, 2021/06/24
- [PATCH v4 15/34] modules: use modinfo for qom load, Gerd Hoffmann, 2021/06/24
- [PATCH v4 17/34] modules: add tracepoints, Gerd Hoffmann, 2021/06/24
- [PATCH v4 16/34] modules: use modinfo for qemu opts load, Gerd Hoffmann, 2021/06/24
- [PATCH v4 18/34] modules: check arch and block load on mismatch, Gerd Hoffmann, 2021/06/24