summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/ehci-tegra.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-03-25 12:22:21 -0600
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:23 -0600
commit727fce369ee84e664d2a1d215cb48137837c6f8b (patch)
tree507bfc50e0fbd33269e0d39a58c63ef9f3257fec /drivers/usb/host/ehci-tegra.c
parent27f782b6a137b51fe81dc2900d64ea6cbe502663 (diff)
downloadblackbird-obmc-uboot-727fce369ee84e664d2a1d215cb48137837c6f8b.tar.gz
blackbird-obmc-uboot-727fce369ee84e664d2a1d215cb48137837c6f8b.zip
dm: usb: Pass EHCI controller pointer to ehci_powerup_fixup()
Adjust this function so that it is passed an EHCI controller pointer so that implementations can look up their controller. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'drivers/usb/host/ehci-tegra.c')
-rw-r--r--drivers/usb/host/ehci-tegra.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c
index c89048f1f5..d39c34ce71 100644
--- a/drivers/usb/host/ehci-tegra.c
+++ b/drivers/usb/host/ehci-tegra.c
@@ -198,7 +198,8 @@ static struct fdt_usb_controller *controller;
* This ehci_powerup_fixup overrides the weak function ehci_powerup_fixup
* in "ehci-hcd.c".
*/
-void ehci_powerup_fixup(uint32_t *status_reg, uint32_t *reg)
+void ehci_powerup_fixup(struct ehci_ctrl *ctrl, uint32_t *status_reg,
+ uint32_t *reg)
{
mdelay(50);
/* This is to avoid PORT_ENABLE bit to be cleared in "ehci-hcd.c". */
OpenPOWER on IntegriCloud