summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-pci.c
diff options
context:
space:
mode:
authorTroy Kisky <troy.kisky@boundarydevices.com>2013-10-10 15:27:57 -0700
committerMarek Vasut <marex@denx.de>2013-10-20 23:46:27 +0200
commit127efc4fe8cfc3ed525650b1ccbad9c3402e8d5d (patch)
treedae3ff98422aaeeb5813efc572e6e9f7fa8554ab /drivers/usb/host/ehci-pci.c
parent06d513ecb61a6711157707ebe10b968aacc0f2a8 (diff)
downloadblackbird-obmc-uboot-127efc4fe8cfc3ed525650b1ccbad9c3402e8d5d.tar.gz
blackbird-obmc-uboot-127efc4fe8cfc3ed525650b1ccbad9c3402e8d5d.zip
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-pci.c')
-rw-r--r--drivers/usb/host/ehci-pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/host/ehci-pci.c b/drivers/usb/host/ehci-pci.c
index 90d7a6feb5..7a1ffe5e28 100644
--- a/drivers/usb/host/ehci-pci.c
+++ b/drivers/usb/host/ehci-pci.c
@@ -69,8 +69,8 @@ static pci_dev_t ehci_find_class(int index)
* Create the appropriate control structures to manage
* a new EHCI host controller.
*/
-int ehci_hcd_init(int index, struct ehci_hccr **ret_hccr,
- struct ehci_hcor **ret_hcor)
+int ehci_hcd_init(int index, enum usb_init_type init,
+ struct ehci_hccr **ret_hccr, struct ehci_hcor **ret_hcor)
{
pci_dev_t pdev;
uint32_t cmd;
OpenPOWER on IntegriCloud