diff options
Diffstat (limited to 'hw/usb-uhci.c')
-rw-r--r-- | hw/usb-uhci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/usb-uhci.c b/hw/usb-uhci.c index cddcc8927a..6f6ebf1694 100644 --- a/hw/usb-uhci.c +++ b/hw/usb-uhci.c @@ -1321,7 +1321,7 @@ static TypeInfo ich9_uhci3_info = { .class_init = ich9_uhci3_class_init, }; -static void uhci_register(void) +static void uhci_register_types(void) { type_register_static(&piix3_uhci_info); type_register_static(&piix4_uhci_info); @@ -1330,7 +1330,8 @@ static void uhci_register(void) type_register_static(&ich9_uhci2_info); type_register_static(&ich9_uhci3_info); } -device_init(uhci_register); + +type_init(uhci_register_types) void usb_uhci_piix3_init(PCIBus *bus, int devfn) { |