[U-Boot] [PATCH 09/16] usb: xhci: Change xhci_setup_addressable_virt_dev() signature

Simon Glass sjg at chromium.org
Thu Jul 6 04:49:50 UTC 2017


On 23 June 2017 at 03:54, Bin Meng <bmeng.cn at 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.cn at 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 <sjg at chromium.org>


More information about the U-Boot mailing list