summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci.c
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2013-10-10 15:27:56 -0700
committerMarek Vasut <marex@denx.de>2013-10-20 23:45:26 +0200
commit06d513ecb61a6711157707ebe10b968aacc0f2a8 (patch)
treee1820c550bf516040b5e57ea05f0ea124b8109df /drivers/usb/host/xhci.c
parentbba679144d25b91bcd7befff5a96728a30875f54 (diff)
downloadu-boot-imx-06d513ecb61a6711157707ebe10b968aacc0f2a8.zip
u-boot-imx-06d513ecb61a6711157707ebe10b968aacc0f2a8.tar.gz
u-boot-imx-06d513ecb61a6711157707ebe10b968aacc0f2a8.tar.bz2
usb: add enum usb_init_type parameter to usb_lowlevel_init
This parameter will later be used to verify OTG ports. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Diffstat (limited to 'drivers/usb/host/xhci.c')
-rw-r--r--drivers/usb/host/xhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 57fa4ff..d1c2e5c 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -936,7 +936,7 @@ submit_control_msg(struct usb_device *udev, unsigned long pipe, void *buffer,
* @param index index to the host controller data structure
* @return pointer to the intialised controller
*/
-int usb_lowlevel_init(int index, void **controller)
+int usb_lowlevel_init(int index, enum usb_init_type init, void **controller)
{
uint32_t val;
uint32_t val2;