summaryrefslogtreecommitdiff
path: root/usb-redir.c
diff options
context:
space:
mode:
Diffstat (limited to 'usb-redir.c')
-rw-r--r--usb-redir.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usb-redir.c b/usb-redir.c
index 303292acd6..82e7e2103c 100644
--- a/usb-redir.c
+++ b/usb-redir.c
@@ -1344,8 +1344,9 @@ static TypeInfo usbredir_dev_info = {
.class_init = usbredir_class_initfn,
};
-static void usbredir_register_devices(void)
+static void usbredir_register_types(void)
{
type_register_static(&usbredir_dev_info);
}
-device_init(usbredir_register_devices);
+
+type_init(usbredir_register_types)