From b2317837f0dadd845b33d528a940adb658b669b9 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 16 Sep 2009 22:25:29 +0200 Subject: switch usb bus to inplace allocation. Signed-off-by: Gerd Hoffmann Signed-off-by: Anthony Liguori --- hw/usb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/usb.h') diff --git a/hw/usb.h b/hw/usb.h index 7c5cf83384..467cddb7b3 100644 --- a/hw/usb.h +++ b/hw/usb.h @@ -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); -- cgit 1.4.1