Re: [PATCH 1/3] ehci: Support for Intel Moorestown MPH and OTG host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Alan Cox | 2011-08-26 13:58:44 [+0100]:

>diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c
>index 8696489..ee2a382 100644
>--- a/drivers/usb/host/ehci-hcd.c
>+++ b/drivers/usb/host/ehci-hcd.c
>@@ -47,6 +47,8 @@
> #include <asm/irq.h>
> #include <asm/system.h>
> #include <asm/unaligned.h>
>+#include <linux/usb/otg.h>
>+#include <linux/usb/langwell_otg.h>
> 
> /*-------------------------------------------------------------------------*/
> 
>@@ -1179,6 +1181,10 @@ MODULE_LICENSE ("GPL");
> #ifdef CONFIG_PCI
> #include "ehci-pci.c"
> #define	PCI_DRIVER		ehci_pci_driver
>+#ifdef CONFIG_USB_LANGWELL_OTG
>+#include "ehci-langwell-pci.c"
>+#define LNW_OTG_HOST_DRIVER    ehci_otg_driver
>+#endif
> #endif
> 
> #ifdef CONFIG_USB_EHCI_FSL
>@@ -1363,8 +1369,18 @@ static int __init ehci_hcd_init(void)
> 	if (retval < 0)
> 		goto clean4;
> #endif
>+
>+#ifdef LNW_OTG_HOST_DRIVER
>+	retval = langwell_register_host(&LNW_OTG_HOST_DRIVER);

why langwell_register_host? Can't find ehci-langwell-pci.c either. Not
even in Greg's next tree.

>+		goto clean5;
>+#endif
> 	return retval;
> 

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux