]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
Uncomment the ehci_setup function in ehci-hcd.c
authorWendy Liang <wendy.liang@petalogix.com>
Wed, 14 Nov 2012 01:06:03 +0000 (11:06 +1000)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 14 Nov 2012 13:23:34 +0000 (14:23 +0100)
Since ehci_setup() is used by ehci-pci.c and some other files.
we should reenable this functinon.

I have checked the 3.7 kernel, this function is still there.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
drivers/usb/host/ehci-hcd.c

index 8207c091905f15c864e9a53594aeae1c53cb9065..2282d832651d2419e4419cbfd556072e0bf16405 100644 (file)
@@ -688,8 +688,6 @@ static int ehci_run (struct usb_hcd *hcd)
        return 0;
 }
 
-/* FIXME It it unused - this should be probably resolve somehow */
-#if 0
 static int ehci_setup(struct usb_hcd *hcd)
 {
        struct ehci_hcd *ehci = hcd_to_ehci(hcd);
@@ -721,7 +719,6 @@ static int ehci_setup(struct usb_hcd *hcd)
 
        return 0;
 }
-#endif
 
 /*-------------------------------------------------------------------------*/