X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ae2566d99ca3e1cd82660434ba5078eaa9ec2cd9..77d3905c01e0ed53c4edc62ba809b22efcfcdfb9:/target/linux/ar71xx/patches-2.6.27/003-ar71xx_usb_host.patch diff --git a/target/linux/ar71xx/patches-2.6.27/003-ar71xx_usb_host.patch b/target/linux/ar71xx/patches-2.6.27/003-ar71xx_usb_host.patch index a1a468db7..093121fc4 100644 --- a/target/linux/ar71xx/patches-2.6.27/003-ar71xx_usb_host.patch +++ b/target/linux/ar71xx/patches-2.6.27/003-ar71xx_usb_host.patch @@ -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. @@ -28,13 +28,13 @@ 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) && \