Skip to content

Commit

Permalink
usb: Netlogic: Fix HC_LENGTH call in ehci-xls.c
Browse files Browse the repository at this point in the history
Fix compile error, HC_LENGTH now takes two parameters and ehci
needs to be passed as the first parameter.

Signed-off-by: Jayachandran C <jayachandranc@netlogicmicro.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Jayachandran C authored and Greg Kroah-Hartman committed Nov 18, 2011
1 parent bc985c1 commit e253dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/host/ehci-xls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");

Expand Down

0 comments on commit e253dec

Please sign in to comment.