aboutsummaryrefslogtreecommitdiff
path: root/hw/usb-audio.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/usb-audio.c')
-rw-r--r--hw/usb-audio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/usb-audio.c b/hw/usb-audio.c
index cd589b718a..0cdfd91dd5 100644
--- a/hw/usb-audio.c
+++ b/hw/usb-audio.c
@@ -706,10 +706,10 @@ static TypeInfo usb_audio_info = {
.class_init = usb_audio_class_init,
};
-static void usb_audio_register_devices(void)
+static void usb_audio_register_types(void)
{
type_register_static(&usb_audio_info);
usb_legacy_register("usb-audio", "audio", NULL);
}
-device_init(usb_audio_register_devices)
+type_init(usb_audio_register_types)