]> git.proxmox.com Git - mirror_qemu.git/commit - hw/usb/hcd-xhci.c
usb: Pass size to usb_bus_new()
authorAndreas Färber <afaerber@suse.de>
Fri, 23 Aug 2013 18:32:04 +0000 (20:32 +0200)
committerAndreas Färber <afaerber@suse.de>
Fri, 30 Aug 2013 18:14:39 +0000 (20:14 +0200)
commitc889b3a55d5d1d18042693cbe2f8f05465914ff4
tree1d019bceebdf629781739c56fdd599dc3f20bde0
parentb1187b51ff5563135da0a9e5c855d7876ab1a926
usb: Pass size to usb_bus_new()

To be passed to qbus_create_inplace().

Use DEVICE() cast to avoid a direct parent field access.

Reviewed-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw/usb/bus.c
hw/usb/hcd-ehci.c
hw/usb/hcd-musb.c
hw/usb/hcd-ohci.c
hw/usb/hcd-uhci.c
hw/usb/hcd-xhci.c
include/hw/usb.h