Message ID | b0e4f877121b10ab4c145057748daba3fde4a027.1504891631.git-series.maxime.ripard@free-electrons.com |
---|---|
State | Superseded |
Headers | show |
Series | sunxi: convert musb to the device model and enable usb_ether | expand |
On 8 September 2017 at 11:34, Maxime Ripard <maxime.ripard@free-electrons.com> wrote: > 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. > > Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> > --- > drivers/usb/gadget/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Simon Glass <sjg@chromium.org> Would be good to add help for this option
diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig index 225b66bc95ff..d52626908846 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
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. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> --- drivers/usb/gadget/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)