[PATCH] usb/gadget/Kconfig: fix menu

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Tue Mar 12 13:51:44 EDT 2013


On 18:41 Tue 12 Mar     , Sascha Hauer wrote:
> On Mon, Mar 11, 2013 at 09:33:15PM +0100, Eric Bénard wrote:
> > by reordering the entry, USB gadget support is now a menu and the
> > USB gadget choices are under this menu and not directly in the
> > driver menu.
> > 
> > Signed-off-by: Eric Bénard <eric at eukrea.com>
> 
> Applied, thanks
IIrc we can not do this for a Kconfig depends on USB_HAVE_GADGET_DRIVER
> 
> Sascha
> 
> > ---
> >  drivers/usb/gadget/Kconfig | 8 ++++----
> >  1 file changed, 4 insertions(+), 4 deletions(-)
> > 
> > diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
> > index 5f65cea..97a7d21 100644
> > --- a/drivers/usb/gadget/Kconfig
> > +++ b/drivers/usb/gadget/Kconfig
> > @@ -1,11 +1,11 @@
> > -menuconfig USB_GADGET
> > -	depends on USB_HAVE_GADGET_DRIVER
> > -	bool "USB gadget support"
> > -
> >  config USB_HAVE_GADGET_DRIVER
> >  	bool
> >  	default y if ARCH_IMX || ARCH_MXS || ARCH_AT91 || ARCH_PXA
> >  
> > +menuconfig USB_GADGET
> > +	depends on USB_HAVE_GADGET_DRIVER
> > +	bool "USB gadget support"
> > +
> >  if USB_GADGET
> >  
> >  config USB_GADGET_DUALSPEED
> > -- 
> > 1.7.11.7
> > 
> > 
> > _______________________________________________
> > barebox mailing list
> > barebox at lists.infradead.org
> > http://lists.infradead.org/mailman/listinfo/barebox
> 
> -- 
> Pengutronix e.K.                           |                             |
> Industrial Linux Solutions                 | http://www.pengutronix.de/  |
> Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
> Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox



More information about the barebox mailing list