aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-xhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb-xhci.c')
-rw-r--r--hw/usb-xhci.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/usb-xhci.c b/hw/usb-xhci.c
index 37e887c..750531f 100644
--- a/hw/usb-xhci.c
+++ b/hw/usb-xhci.c
@@ -2752,8 +2752,9 @@ static TypeInfo xhci_info = {
.class_init = xhci_class_init,
};
-static void xhci_register(void)
+static void xhci_register_types(void)
{
type_register_static(&xhci_info);
}
-device_init(xhci_register);
+
+type_init(xhci_register_types)