summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2017-09-06 22:54:52 +0200
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-10-03 19:12:04 +0200
commit5506ff149d4aa4b76f162a71c2cf68c2b00d38e9 (patch)
tree5aea789c1b299f04c0710ffa0fee091ece7d7f97
parenta4dd8722fab257ff23cd63483b2926a4e197be96 (diff)
usb: gadget: Move USBNET_DEVADDR option out of g_dnl
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>
-rw-r--r--drivers/usb/gadget/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index 225b66bc95..d526269088 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -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