drivers:usb:fsl: Fix compilation error for fsl ehci drv
[firefly-linux-kernel-4.4.55.git] / drivers / usb / host / ehci-hcd.c
index 9dd161ce02a2c784b92d83be90e6f30d5c0f55c2..c63d82c91f105d9ad83d54c90cfca84b455bc2d6 100644 (file)
@@ -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).