Re: [PATCH] usb: ohci: Fix Kconfig dependency on USB_ISP1301

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

 



On Thu, 23 Aug 2012, Roland Stigge wrote:

> With "select USB_ISP1301 ...", it could happen that I2C isn't selected although
> USB_ISP1301 depends on it. Fixing with "depends on ..." and emulating the
> condition via "|| !()".
> 
> Signed-off-by: Roland Stigge <stigge@xxxxxxxxx>
> ---
>  drivers/usb/host/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> --- linux-2.6.orig/drivers/usb/host/Kconfig
> +++ linux-2.6/drivers/usb/host/Kconfig
> @@ -292,7 +292,7 @@ config USB_OHCI_HCD
>  	depends on USB && USB_ARCH_HAS_OHCI
>  	select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3
>  	select USB_OTG_UTILS if ARCH_OMAP
> -	select USB_ISP1301 if ARCH_LPC32XX || ARCH_PNX4008
> +	depends on USB_ISP1301 || !(ARCH_LPC32XX || ARCH_PNX4008)
>  	---help---
>  	  The Open Host Controller Interface (OHCI) is a standard for accessing
>  	  USB 1.1 host controller hardware.  It does more in hardware than Intel's

I was going to suggest the exact same solution, but you beat me to it.  
:-)

Acked-by: Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>

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