[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 7/9] ccid module annotations
From: |
Gerd Hoffmann |
Subject: |
[PATCH 7/9] ccid module annotations |
Date: |
Wed, 2 Jun 2021 11:17:25 +0200 |
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
hw/usb/ccid-card-emulated.c | 1 +
hw/usb/ccid-card-passthru.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/hw/usb/ccid-card-emulated.c b/hw/usb/ccid-card-emulated.c
index 5c76bed77aa0..6c8c0355e099 100644
--- a/hw/usb/ccid-card-emulated.c
+++ b/hw/usb/ccid-card-emulated.c
@@ -612,6 +612,7 @@ static const TypeInfo emulated_card_info = {
.instance_size = sizeof(EmulatedState),
.class_init = emulated_class_initfn,
};
+module_obj(TYPE_EMULATED_CCID);
static void ccid_card_emulated_register_types(void)
{
diff --git a/hw/usb/ccid-card-passthru.c b/hw/usb/ccid-card-passthru.c
index 7212d0d7fb5e..fa3040fb7154 100644
--- a/hw/usb/ccid-card-passthru.c
+++ b/hw/usb/ccid-card-passthru.c
@@ -414,6 +414,7 @@ static const TypeInfo passthru_card_info = {
.instance_size = sizeof(PassthruState),
.class_init = passthru_class_initfn,
};
+module_obj(TYPE_CCID_PASSTHRU);
static void ccid_card_passthru_register_types(void)
{
--
2.31.1
- [PATCH 0/9] [RFC] store module metadata in .modinfo elf section, Gerd Hoffmann, 2021/06/02
- [PATCH 3/9] virtio-gpu module annotations, Gerd Hoffmann, 2021/06/02
- [PATCH 2/9] add qemu-modinfo utility, Gerd Hoffmann, 2021/06/02
- [PATCH 1/9] Add module metadata macros, add qxl module annotations, Gerd Hoffmann, 2021/06/02
- [PATCH 4/9] chardev module annotations, Gerd Hoffmann, 2021/06/02
- [PATCH 6/9] usb-redir module annotations, Gerd Hoffmann, 2021/06/02
- [PATCH 5/9] audio module annotations, Gerd Hoffmann, 2021/06/02
- [PATCH 8/9] ui module annotations, Gerd Hoffmann, 2021/06/02
- [PATCH 9/9] s390x module annotations, Gerd Hoffmann, 2021/06/02
- [PATCH 7/9] ccid module annotations,
Gerd Hoffmann <=