]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: usb: xhci: Use explicit parameters for xhci_alloc_virt_device()
authorSimon Glass <sjg@chromium.org>
Wed, 25 Mar 2015 18:22:50 +0000 (12:22 -0600)
committerSimon Glass <sjg@chromium.org>
Sat, 18 Apr 2015 17:11:28 +0000 (11:11 -0600)
commit7e0c5ee8748ae46aafebaedd594240ca4705f9ea
treed1423732a761c85ae9f426b97747462dd4c1e3a2
parent7c1deec0afc209fea14bc38e3a3e1d28b773ee55
dm: usb: xhci: Use explicit parameters for xhci_alloc_virt_device()

This function should not be delving into struct usb_device. Pass in the
parameters it needs directly.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci.c
drivers/usb/host/xhci.h