summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-25 12:22:51 -0600
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:28 -0600
commit5dd75e3b4677b3262a69f7e5fefea77c86c7c0c7 (patch)
tree7a1caf8b56594fb31b0cba88c1e8a45929f77425 /drivers/usb/host/xhci.h
parent7e0c5ee8748ae46aafebaedd594240ca4705f9ea (diff)
downloadtalos-obmc-uboot-5dd75e3b4677b3262a69f7e5fefea77c86c7c0c7.tar.gz
talos-obmc-uboot-5dd75e3b4677b3262a69f7e5fefea77c86c7c0c7.zip
dm: usb: xhci: Use explicit parameters for xhci_setup_addressable_virt_dev()
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>
Diffstat (limited to 'drivers/usb/host/xhci.h')
-rw-r--r--drivers/usb/host/xhci.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h
index 1dde80409e..65c8880730 100644
--- a/drivers/usb/host/xhci.h
+++ b/drivers/usb/host/xhci.h
@@ -1241,7 +1241,8 @@ void xhci_endpoint_copy(struct xhci_ctrl *ctrl,
void xhci_slot_copy(struct xhci_ctrl *ctrl,
struct xhci_container_ctx *in_ctx,
struct xhci_container_ctx *out_ctx);
-void xhci_setup_addressable_virt_dev(struct usb_device *udev);
+void xhci_setup_addressable_virt_dev(struct xhci_ctrl *ctrl, int slot_id,
+ int speed, int hop_portnr);
void xhci_queue_command(struct xhci_ctrl *ctrl, u8 *ptr,
u32 slot_id, u32 ep_index, trb_type cmd);
void xhci_acknowledge_event(struct xhci_ctrl *ctrl);
OpenPOWER on IntegriCloud