diff options
Diffstat (limited to 'usb-redir.c')
-rw-r--r-- | usb-redir.c | 5 |
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) |