summary refs log tree commit diff stats
path: root/usb-bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'usb-bsd.c')
-rw-r--r--usb-bsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usb-bsd.c b/usb-bsd.c
index 43fd1a1526..fc722b3cfa 100644
--- a/usb-bsd.c
+++ b/usb-bsd.c
@@ -414,7 +414,7 @@ static TypeInfo usb_host_dev_info = {
     .name          = "usb-host",
     .parent        = TYPE_USB_DEVICE,
     .instance_size = sizeof(USBHostDevice),
-    .class_init    = usb_host_initfn,
+    .class_init    = usb_host_class_initfn,
 };
 
 static void usb_host_register_devices(void)