[PATCH] usb/gadget/Kconfig: fix menu

Eric Bénard eric at eukrea.com
Mon Mar 11 16:33:15 EDT 2013


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>
---
 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




More information about the barebox mailing list