aboutsummaryrefslogtreecommitdiff
path: root/usb-bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usb-bsd.c')
-rw-r--r--usb-bsd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usb-bsd.c b/usb-bsd.c
index fc722b3cfa..0fd12a2398 100644
--- a/usb-bsd.c
+++ b/usb-bsd.c
@@ -417,11 +417,12 @@ static TypeInfo usb_host_dev_info = {
.class_init = usb_host_class_initfn,
};
-static void usb_host_register_devices(void)
+static void usb_host_register_types(void)
{
type_register_static(&usb_host_dev_info);
}
-device_init(usb_host_register_devices)
+
+type_init(usb_host_register_types)
static int usb_host_scan(void *opaque, USBScanFunc *func)
{