]> git.sur5r.net Git - u-boot/commit
usb: xhci: Change xhci_setup_addressable_virt_dev() signature
authorBin Meng <bmeng.cn@gmail.com>
Wed, 19 Jul 2017 13:51:14 +0000 (21:51 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 28 Jul 2017 21:34:33 +0000 (23:34 +0200)
commitdaec4691449fa4728f29260554701602e8f91d5c
tree50c1a3ff1cf27fd65a4be781b4c086cb0a1a2153
parentbbc6f06c0031249bf1983b875e54cb7549bafe60
usb: xhci: Change xhci_setup_addressable_virt_dev() signature

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.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci.c
drivers/usb/host/xhci.h