summaryrefslogtreecommitdiffstats
path: root/hw/usb-hub.c
diff options
context:
space:
mode:
authorAnthony Liguori2011-12-08 21:56:53 +0100
committerAnthony Liguori2012-02-03 17:41:03 +0100
commitba02430f1a681173cff5336c626d6edc5ea268db (patch)
tree74913357d1d97791c10e8f94d95ec36986a97168 /hw/usb-hub.c
parentusb-hid: simplify class initialization a bit (diff)
downloadqemu-ba02430f1a681173cff5336c626d6edc5ea268db.tar.gz
qemu-ba02430f1a681173cff5336c626d6edc5ea268db.tar.xz
qemu-ba02430f1a681173cff5336c626d6edc5ea268db.zip
usb: separate out legacy usb registration from type registration
Type registeration is going to get turned into a QOM call so decouple the legacy support. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/usb-hub.c')
-rw-r--r--hw/usb-hub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/usb-hub.c b/hw/usb-hub.c
index ee4e6a6920..3e33685fa0 100644
--- a/hw/usb-hub.c
+++ b/hw/usb-hub.c
@@ -557,6 +557,6 @@ static struct DeviceInfo hub_info = {
static void usb_hub_register_devices(void)
{
- usb_qdev_register(&hub_info, NULL, NULL);
+ usb_qdev_register(&hub_info);
}
device_init(usb_hub_register_devices)