[PATCH 1/1] gadget: fix Kconfig: move config under if
Sascha Hauer
s.hauer at pengutronix.de
Fri Aug 3 10:35:14 EDT 2012
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 at 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 |
More information about the barebox
mailing list