diff options
Diffstat (limited to 'hw/usb-ohci.c')
-rw-r--r-- | hw/usb-ohci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/usb-ohci.c b/hw/usb-ohci.c index 425030f141..da04c6345a 100644 --- a/hw/usb-ohci.c +++ b/hw/usb-ohci.c @@ -1886,9 +1886,10 @@ static TypeInfo ohci_sysbus_info = { .class_init = ohci_sysbus_class_init, }; -static void ohci_register(void) +static void ohci_register_types(void) { type_register_static(&ohci_pci_info); type_register_static(&ohci_sysbus_info); } -device_init(ohci_register); + +type_init(ohci_register_types) |