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.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/usb-audio.c b/hw/usb-audio.c
index 561ae31d25..459f162041 100644
--- a/hw/usb-audio.c
+++ b/hw/usb-audio.c
@@ -704,7 +704,8 @@ static struct DeviceInfo usb_audio_info = {
static void usb_audio_register_devices(void)
{
- usb_qdev_register(&usb_audio_info, "audio", NULL);
+ usb_qdev_register(&usb_audio_info);
+ usb_legacy_register("usb-audio", "audio", NULL);
}
device_init(usb_audio_register_devices)