diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-09-16 22:25:29 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-05 09:32:46 -0500 |
commit | b2317837f0dadd845b33d528a940adb658b669b9 (patch) | |
tree | 07b668610459f04f1edb78243f2888e616159977 /hw/usb.h | |
parent | ca9c39faed928405574d234b4f7c5704cd2c568e (diff) |
switch usb bus to inplace allocation.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/usb.h')
-rw-r--r-- | hw/usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -303,7 +303,7 @@ struct USBBus { QTAILQ_ENTRY(USBBus) next; }; -USBBus *usb_bus_new(DeviceState *host); +void usb_bus_new(USBBus *bus, DeviceState *host); USBBus *usb_bus_find(int busnr); void usb_qdev_register(USBDeviceInfo *info); void usb_qdev_register_many(USBDeviceInfo *info); |