summaryrefslogtreecommitdiff
path: root/hw/ccid-card-emulated.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ccid-card-emulated.c')
-rw-r--r--hw/ccid-card-emulated.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ccid-card-emulated.c b/hw/ccid-card-emulated.c
index 9510ed4d94..f4a6da4283 100644
--- a/hw/ccid-card-emulated.c
+++ b/hw/ccid-card-emulated.c
@@ -594,9 +594,9 @@ static TypeInfo emulated_card_info = {
.class_init = emulated_class_initfn,
};
-static void ccid_card_emulated_register_devices(void)
+static void ccid_card_emulated_register_types(void)
{
type_register_static(&emulated_card_info);
}
-device_init(ccid_card_emulated_register_devices)
+type_init(ccid_card_emulated_register_types)