drivers:usb:fsl: Fix compilation error for fsl ehci drv
Fix compilation error in fsl ehci drv because ehci_reset() and ehci_adjust_port_wakeup_flags() were not exported, and are used when PM is enabled Signed-off-by: Ramneek Mehresh <ramneek.mehresh@freescale.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
c5d496ad98
commit
74db22cb3a
@@ -239,7 +239,7 @@ static void tdi_reset (struct ehci_hcd *ehci)
|
||||
* Reset a non-running (STS_HALT == 1) controller.
|
||||
* Must be called with interrupts enabled and the lock not held.
|
||||
*/
|
||||
static int ehci_reset (struct ehci_hcd *ehci)
|
||||
int ehci_reset(struct ehci_hcd *ehci)
|
||||
{
|
||||
int retval;
|
||||
u32 command = ehci_readl(ehci, &ehci->regs->command);
|
||||
@@ -275,6 +275,7 @@ static int ehci_reset (struct ehci_hcd *ehci)
|
||||
ehci->resuming_ports = 0;
|
||||
return retval;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(ehci_reset);
|
||||
|
||||
/*
|
||||
* Idle the controller (turn off the schedules).
|
||||
|
Reference in New Issue
Block a user