mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/1] gadget: fix Kconfig: move config under if
@ 2012-07-30 12:09 Jean-Christophe PLAGNIOL-VILLARD
  2012-08-03 14:35 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-07-30 12:09 UTC (permalink / raw)
  To: barebox

so the submenu display correctly

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 drivers/usb/gadget/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 465121c..6935408 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -2,12 +2,12 @@ menuconfig USB_GADGET
 	depends on USB_HAVE_GADGET_DRIVER
 	bool "USB gadget support            "
 
+if USB_GADGET
+
 config USB_HAVE_GADGET_DRIVER
 	bool
 	default y if ARCH_IMX || ARCH_MXS || ARCH_AT91 || ARCH_PXA
 
-if USB_GADGET
-
 config USB_GADGET_DUALSPEED
 	bool
 
-- 
1.7.10.4


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] gadget: fix Kconfig: move config under if
  2012-07-30 12:09 [PATCH 1/1] gadget: fix Kconfig: move config under if Jean-Christophe PLAGNIOL-VILLARD
@ 2012-08-03 14:35 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2012-08-03 14:35 UTC (permalink / raw)
  To: Jean-Christophe PLAGNIOL-VILLARD; +Cc: barebox

On Mon, Jul 30, 2012 at 02:09:48PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> so the submenu display correctly
> 
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
> ---
>  drivers/usb/gadget/Kconfig |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
> index 465121c..6935408 100644
> --- a/drivers/usb/gadget/Kconfig
> +++ b/drivers/usb/gadget/Kconfig
> @@ -2,12 +2,12 @@ menuconfig USB_GADGET
>  	depends on USB_HAVE_GADGET_DRIVER
>  	bool "USB gadget support            "
>  
> +if USB_GADGET
> +
>  config USB_HAVE_GADGET_DRIVER
>  	bool
>  	default y if ARCH_IMX || ARCH_MXS || ARCH_AT91 || ARCH_PXA
>  
> -if USB_GADGET
> -

USB_GADGET depends on USB_HAVE_GADGET_DRIVER. If you move
USB_HAVE_GADGET_DRIVER inside 'if USB_GADGET' the menu completely
disappears.

Sascha

-- 
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@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-03 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-30 12:09 [PATCH 1/1] gadget: fix Kconfig: move config under if Jean-Christophe PLAGNIOL-VILLARD
2012-08-03 14:35 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox