summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-mxs.c
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2013-10-10 22:27:57 (GMT)
committerMarek Vasut <marex@denx.de>2013-10-20 21:46:27 (GMT)
commit127efc4fe8cfc3ed525650b1ccbad9c3402e8d5d (patch)
treedae3ff98422aaeeb5813efc572e6e9f7fa8554ab /drivers/usb/host/ehci-mxs.c
parent06d513ecb61a6711157707ebe10b968aacc0f2a8 (diff)
downloadu-boot-127efc4fe8cfc3ed525650b1ccbad9c3402e8d5d.tar.xz
usb: ehci-hcd: add enum usb_init_type parameter to ehci_hcd_init.
This paramter will later be used to initialize OTG ports in host or device mode. Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
Diffstat (limited to 'drivers/usb/host/ehci-mxs.c')
-rw-r--r--drivers/usb/host/ehci-mxs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-mxs.c b/drivers/usb/host/ehci-mxs.c
index 286a380..4d652b3 100644
--- a/drivers/usb/host/ehci-mxs.c
+++ b/drivers/usb/host/ehci-mxs.c
@@ -77,7 +77,8 @@ static int ehci_mxs_toggle_clock(const struct ehci_mxs_port *port, int enable)
return 0;
}
-int ehci_hcd_init(int index, struct ehci_hccr **hccr, struct ehci_hcor **hcor)
+int ehci_hcd_init(int index, enum usb_init_type init,
+ struct ehci_hccr **hccr, struct ehci_hcor **hcor)
{
int ret;