aboutsummaryrefslogtreecommitdiff
path: root/usb-linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'usb-linux.c')
-rw-r--r--usb-linux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usb-linux.c b/usb-linux.c
index 31810f6f40..a337db5296 100644
--- a/usb-linux.c
+++ b/usb-linux.c
@@ -1434,7 +1434,8 @@ static struct DeviceInfo usb_host_dev_info = {
static void usb_host_register_devices(void)
{
- usb_qdev_register(&usb_host_dev_info, "host", usb_host_device_open);
+ usb_qdev_register(&usb_host_dev_info);
+ usb_legacy_register("usb-host", "host", usb_host_device_open);
}
device_init(usb_host_register_devices)