summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/usb_ehci_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/usb_ehci_core.c b/drivers/usb/usb_ehci_core.c
index 4163500cce..cb5a073cc5 100644
--- a/drivers/usb/usb_ehci_core.c
+++ b/drivers/usb/usb_ehci_core.c
@@ -247,7 +247,7 @@ static int ehci_reset(struct ehci_priv *ehci)
}
if (ehci_is_TDI()) {
- reg_ptr = (uint32_t *)((u8 *)&ehci->hcor + USBMODE);
+ reg_ptr = (uint32_t *)((u8 *)ehci->hcor + USBMODE);
tmp = ehci_readl(reg_ptr);
tmp |= USBMODE_CM_HC;
#if defined(CONFIG_EHCI_MMIO_BIG_ENDIAN)