Re: [PATCH] usb: host: add dependence for USB_EHCI_MV

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

 



On Thu, 23 Feb 2012, Neil Zhang wrote:

> This ehci driver is mainly designed to support host controller found on
> Marvell PXA and MMP Soc series.
> Add the dependence to avoid the potential build failure which may
> include two EHCI controller drivers.
> 
> Signed-off-by: Neil Zhang <zhangwm@xxxxxxxxxxx>
> ---
>  drivers/usb/host/Kconfig |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
> index 353cdd4..280332f 100644
> --- a/drivers/usb/host/Kconfig
> +++ b/drivers/usb/host/Kconfig
> @@ -196,7 +196,7 @@ config USB_EHCI_S5P
>  
>  config USB_EHCI_MV
>  	bool "EHCI support for Marvell on-chip controller"
> -	depends on USB_EHCI_HCD
> +	depends on USB_EHCI_HCD && (ARCH_PXA || ARCH_MMP)
>  	select USB_EHCI_ROOT_HUB_TT
>  	---help---
>  	  Enables support for Marvell (including PXA and MMP series) on-chip

The section for USB_PXA168_EHCI also depends on ARCH_MMP.  Do you think
that ehci_pxa168.c should be removed because ehci_mv.c can take over
for it?  If so, please send in a patch removing ehci_pxa168.c along
with its associated lines in Kconfig and Makefile.

Alan Stern

--
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