aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-bt.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb-bt.c')
-rw-r--r--hw/usb-bt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/usb-bt.c b/hw/usb-bt.c
index 90c3b0e0eb..a836de3f8e 100644
--- a/hw/usb-bt.c
+++ b/hw/usb-bt.c
@@ -550,8 +550,9 @@ static TypeInfo bt_info = {
.class_init = usb_bt_class_initfn,
};
-static void usb_bt_register_devices(void)
+static void usb_bt_register_types(void)
{
type_register_static(&bt_info);
}
-device_init(usb_bt_register_devices)
+
+type_init(usb_bt_register_types)