diff options
author | Gerd Hoffmann | 2009-09-16 22:25:29 +0200 |
---|---|---|
committer | Anthony Liguori | 2009-10-05 16:32:46 +0200 |
commit | b2317837f0dadd845b33d528a940adb658b669b9 (patch) | |
tree | 07b668610459f04f1edb78243f2888e616159977 /hw/usb.h | |
parent | switch scsi bus to inplace allocation. (diff) | |
download | qemu-b2317837f0dadd845b33d528a940adb658b669b9.tar.gz qemu-b2317837f0dadd845b33d528a940adb658b669b9.tar.xz qemu-b2317837f0dadd845b33d528a940adb658b669b9.zip |
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); |