On 23 June 2017 at 03:54, Bin Meng <bmeng...@gmail.com> wrote: > For future extension, change xhci_setup_addressable_virt_dev() > signature to accept a pointer to 'struct usb_device', instead > of its members slot_id & speed, as the struct already contains > these two plus some other useful information of the device.
I am guessing this is because you need the other info in a subsequent patch. > > Signed-off-by: Bin Meng <bmeng...@gmail.com> > --- > > drivers/usb/host/xhci-mem.c | 6 ++++-- > drivers/usb/host/xhci.c | 3 +-- > drivers/usb/host/xhci.h | 4 ++-- > 3 files changed, 7 insertions(+), 6 deletions(-) Reviewed-by: Simon Glass <s...@chromium.org> _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot