From 6db34277e3b3071707a3a20afb82176e4f229b8f Mon Sep 17 00:00:00 2001 From: Thomas Huth Date: Wed, 10 Mar 2021 18:33:22 +0100 Subject: usb: Un-deprecate -usbdevice (except for -usbdevice audio which gets removed) When trying to remove the -usbdevice option, there were complaints that "-usbdevice braille" is still a very useful shortcut for some people. Thus we never remove this option. Since it's not such a big burden to keep it around, and it's also convenient in the sense that you don't have to worry to enable a host controller explicitly with this option, we should remove it from he deprecation list again. However, there is one exception: "-usbdevice audio" should go away, since audio devices without "audiodev=..." parameter are also on the deprecation list and you cannot use "-usbdevice audio" with "audiodev". Signed-off-by: Thomas Huth Message-Id: <20210310173323.1422754-4-thuth@redhat.com> Signed-off-by: Gerd Hoffmann --- hw/usb/dev-audio.c | 1 - 1 file changed, 1 deletion(-) (limited to 'hw/usb') diff --git a/hw/usb/dev-audio.c b/hw/usb/dev-audio.c index e1486f8..f5cb246 100644 --- a/hw/usb/dev-audio.c +++ b/hw/usb/dev-audio.c @@ -1024,7 +1024,6 @@ static const TypeInfo usb_audio_info = { static void usb_audio_register_types(void) { type_register_static(&usb_audio_info); - usb_legacy_register(TYPE_USB_AUDIO, "audio", NULL); } type_init(usb_audio_register_types) -- cgit v1.1