From: Jayachandran C Date: Fri, 18 Nov 2011 06:42:41 +0000 (+0530) Subject: usb: Netlogic: Fix HC_LENGTH call in ehci-xls.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e253dec31b3ffc2bf19aa8c29865ab7254e90c29;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git usb: Netlogic: Fix HC_LENGTH call in ehci-xls.c Fix compile error, HC_LENGTH now takes two parameters and ehci needs to be passed as the first parameter. Signed-off-by: Jayachandran C Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/host/ehci-xls.c b/drivers/usb/host/ehci-xls.c index fe74bd676018..b4fb511d24bc 100644 --- a/drivers/usb/host/ehci-xls.c +++ b/drivers/usb/host/ehci-xls.c @@ -19,7 +19,7 @@ static int ehci_xls_setup(struct usb_hcd *hcd) ehci->caps = hcd->regs; ehci->regs = hcd->regs + - HC_LENGTH(ehci_readl(ehci, &ehci->caps->hc_capbase)); + HC_LENGTH(ehci, ehci_readl(ehci, &ehci->caps->hc_capbase)); dbg_hcs_params(ehci, "reset"); dbg_hcc_params(ehci, "reset");