004-usb.patch 697 B

12345678910111213141516171819202122232425262728
  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. +#ifdef CONFIG_ARCH_MCS814X
  7. +#include "ehci-mcs814x.c"
  8. +#define PLATFORM_DRIVER mcs814x_ehci_driver
  9. +#endif
  10. +
  11. static int __init ehci_hcd_init(void)
  12. {
  13. int retval = 0;
  14. --- a/drivers/usb/host/ohci-hcd.c
  15. +++ b/drivers/usb/host/ohci-hcd.c
  16. @@ -1259,6 +1259,11 @@ MODULE_LICENSE ("GPL");
  17. #define PLATFORM_DRIVER ohci_hcd_tilegx_driver
  18. #endif
  19. +#ifdef CONFIG_ARCH_MCS814X
  20. +#include "ohci-mcs814x.c"
  21. +#define PLATFORM_DRIVER ohci_hcd_mcs814x_driver
  22. +#endif
  23. +
  24. static int __init ohci_hcd_mod_init(void)
  25. {
  26. int retval = 0;