Re: [PATCH] Fix USB Kconfig

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

 



On Fri, Mar 30, 2012 at 12:05:32PM +0100, Rupesh Gujare wrote:
> Fix menuconfig option for USB. 
> 
> Signed-off-by: Rupesh Gujare <rgujare@xxxxxxxxxxxxxxx>
> Reported-by: Borislav Petkov <bp@xxxxxxxxx>
> ---
>  drivers/usb/Kconfig |   14 +++++++-------
>  1 files changed, 7 insertions(+), 7 deletions(-)
> 
> diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
> index cbd8f5f..884f3fa 100644
> --- a/drivers/usb/Kconfig
> +++ b/drivers/usb/Kconfig
> @@ -10,6 +10,13 @@ menuconfig USB_SUPPORT
>  	  This option adds core support for Universal Serial Bus (USB).
>  	  You will also need drivers from the following menu to make use of it.
>  
> +if USB_SUPPORT
> +
> +config USB_COMMON
> +	tristate
> +	default y
> +	depends on USB || USB_GADGET
> +
>  # many non-PCI SOC chips embed OHCI
>  config USB_ARCH_HAS_OHCI
>  	boolean
> @@ -63,13 +70,6 @@ config USB_ARCH_HAS_XHCI
>  	boolean
>  	default PCI
>  
> -if USB_SUPPORT
> -
> -config USB_COMMON
> -	tristate
> -	default y
> -	depends on USB || USB_GADGET
> -
>  # Host-side USB depends on having a host controller
>  # NOTE:  dummy_hcd is always an option, but it's ignored here ...
>  # NOTE:  SL-811 option should be board-specific ...

Reportedly, there's a fix for this already, see thread at
http://marc.info/?l=linux-usb&m=133310173203793&w=2

Thanks.

-- 
Regards/Gruss,
Boris.
--
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