usb: gadget: Move USBNET_DEVADDR option out of g_dnl
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Wed, 6 Sep 2017 20:54:52 +0000 (22:54 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 3 Oct 2017 17:12:04 +0000 (19:12 +0200)
The USBNET_DEVADDR has nothing to do with the USB download gadget, but
rather with the USB Ethernet gadget. Move it out of the if statement.

Acked-by: Ɓukasz Majewski <lukma@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/usb/gadget/Kconfig

index 225b66bc95ff3492dfff8b340d5130dc86d06b76..d526269088465acdc471f2f3cd4f8fc537758445 100644 (file)
@@ -119,10 +119,10 @@ config G_DNL_VENDOR_NUM
 config G_DNL_PRODUCT_NUM
        hex "Product ID of USB device"
 
+endif # USB_GADGET_DOWNLOAD
+
 config USBNET_DEVADDR
        string "USB Gadget Ethernet device mac address"
        default "de:ad:be:ef:00:01"
 
-endif # USB_GADGET_DOWNLOAD
-
 endif # USB_GADGET