imx6: drop 3.14
[openwrt.git] / target / linux / mcs814x / patches-3.14 / 004-usb.patch
1 --- a/drivers/usb/host/ehci-hcd.c
2 +++ b/drivers/usb/host/ehci-hcd.c
3 @@ -1298,6 +1298,11 @@ MODULE_LICENSE ("GPL");
4  #define        PLATFORM_DRIVER         ehci_hcd_sead3_driver
5  #endif
6  
7 +#ifdef CONFIG_ARCH_MCS814X
8 +#include "ehci-mcs814x.c"
9 +#define PLATFORM_DRIVER                mcs814x_ehci_driver
10 +#endif
11 +
12  static int __init ehci_hcd_init(void)
13  {
14         int retval = 0;
15 --- a/drivers/usb/host/ohci-hcd.c
16 +++ b/drivers/usb/host/ohci-hcd.c
17 @@ -1218,6 +1218,11 @@ MODULE_LICENSE ("GPL");
18  #define PLATFORM_DRIVER                ohci_hcd_tilegx_driver
19  #endif
20  
21 +#ifdef CONFIG_ARCH_MCS814X
22 +#include "ohci-mcs814x.c"
23 +#define PLATFORM_DRIVER                ohci_hcd_mcs814x_driver
24 +#endif
25 +
26  static int __init ohci_hcd_mod_init(void)
27  {
28         int retval = 0;