aboutsummaryrefslogtreecommitdiff
path: root/hw/ccid-card-passthru.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ccid-card-passthru.c')
-rw-r--r--hw/ccid-card-passthru.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ccid-card-passthru.c b/hw/ccid-card-passthru.c
index a7006ca035..bd6c77777d 100644
--- a/hw/ccid-card-passthru.c
+++ b/hw/ccid-card-passthru.c
@@ -343,9 +343,9 @@ static TypeInfo passthru_card_info = {
.class_init = passthru_class_initfn,
};
-static void ccid_card_passthru_register_devices(void)
+static void ccid_card_passthru_register_types(void)
{
type_register_static(&passthru_card_info);
}
-device_init(ccid_card_passthru_register_devices)
+type_init(ccid_card_passthru_register_types)