[ar71xx] update USB patches
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-2.6.27 / 003-ar71xx_usb_host.patch
index a1a468db7fe1fde1b132f9a3f304860f9b6eba6b..093121fc46d578d3927d29666b8cc7dd1af29cb3 100644 (file)
@@ -13,7 +13,7 @@
  config USB_EHCI_FSL
        bool "Support for Freescale on-chip EHCI USB controller"
        depends on USB_EHCI_HCD && FSL_SOC
-@@ -152,6 +158,12 @@ config USB_OHCI_HCD
+@@ -141,6 +147,12 @@ config USB_OHCI_HCD
          To compile this driver as a module, choose M here: the
          module will be called ohci-hcd.
  
        depends on USB_OHCI_HCD && (STB03xxx || PPC_MPC52xx)
 --- a/drivers/usb/host/ehci-hcd.c
 +++ b/drivers/usb/host/ehci-hcd.c
-@@ -1040,6 +1040,11 @@ MODULE_LICENSE ("GPL");
+@@ -1039,6 +1039,11 @@ MODULE_LICENSE ("GPL");
  #define       PLATFORM_DRIVER         ixp4xx_ehci_driver
  #endif
  
 +#ifdef CONFIG_USB_EHCI_AR71XX
 +#include "ehci-ar71xx.c"
-+#define PLATFORM_DRIVER               ehci_hcd_ar71xx_driver
++#define PLATFORM_DRIVER               ehci_ar71xx_driver
 +#endif
 +
  #if !defined(PCI_DRIVER) && !defined(PLATFORM_DRIVER) && \