diff options
author | Simon Glass <sjg@chromium.org> | 2015-03-25 12:22:49 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 11:11:28 -0600 |
commit | 7c1deec0afc209fea14bc38e3a3e1d28b773ee55 (patch) | |
tree | 55dd5a878b7a4a1ca9c1c48b1aab0696972081ff /drivers/usb/host/xhci.h | |
parent | c3980ad3b51bd0f7d4d211f6ff504af800ff70dd (diff) | |
download | blackbird-obmc-uboot-7c1deec0afc209fea14bc38e3a3e1d28b773ee55.tar.gz blackbird-obmc-uboot-7c1deec0afc209fea14bc38e3a3e1d28b773ee55.zip |
dm: usb: xhci: Use a function to get xhci_ctrl
Rather than getting this directly from struct usb_device, call a function
to obtain it. This will make it possible for driver model to provide it
another way.
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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.h b/drivers/usb/host/xhci.h index 0951e87436..1f489332b7 100644 --- a/drivers/usb/host/xhci.h +++ b/drivers/usb/host/xhci.h @@ -1259,4 +1259,6 @@ int xhci_alloc_virt_device(struct usb_device *udev); int xhci_mem_init(struct xhci_ctrl *ctrl, struct xhci_hccr *hccr, struct xhci_hcor *hcor); +struct xhci_ctrl *xhci_get_ctrl(struct usb_device *udev); + #endif /* HOST_XHCI_H_ */ |