[PATCH 1/1] gadget: fix Kconfig: move config under if
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Mon Jul 30 08:09:48 EDT 2012
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
-
config USB_GADGET_DUALSPEED
bool
--
1.7.10.4
More information about the barebox
mailing list