diff options
Diffstat (limited to 'hw/usb-xhci.c')
-rw-r--r-- | hw/usb-xhci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/usb-xhci.c b/hw/usb-xhci.c index 37e887c431..750531f251 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) |