USB: EHCI: Support controllers with big endian capability regs
[pandora-kernel.git] / drivers / usb / host / ehci-mxc.c
index 25c8c10..0c058be 100644 (file)
@@ -208,7 +208,7 @@ static int ehci_mxc_drv_probe(struct platform_device *pdev)
        /* EHCI registers start at offset 0x100 */
        ehci->caps = hcd->regs + 0x100;
        ehci->regs = hcd->regs + 0x100 +
-           HC_LENGTH(ehci_readl(ehci, &ehci->caps->hc_capbase));
+               HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase));
 
        /* set up the PORTSCx register */
        ehci_writel(ehci, pdata->portsc, &ehci->regs->port_status[0]);