Fix typo in CONFIG_USBNET_DEVADDR
PATCH 1/1 Fix typo in CONFIG_USBNET_DEVADDR
From: Ignacio Zamora <[email protected]>
Fix typo that was causing the same feature to be
splitted into 2 different configuration options
Replacing CONFIG_USBNET_DEVADDR with CONFIG_USBNET_DEV_ADDR
Signed-off-by Ignacio Zamora <[email protected]>
--- drivers/usb/gadget/Kconfig | 2 +- drivers/usb/gadget/ether.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/usb/gadget/Kconfig +1 -1
@@ -241,7 +241,7 @@ config USB_ETH_RNDIS endchoice -config USBNET_DEVADDR +config USBNET_DEV_ADDR string "USB Gadget Ethernet device mac address" default "de:ad:be:ef:00:01" help
drivers/usb/gadget/ether.c +1 -1
@@ -2620,7 +2620,7 @@ static int usb_eth_probe(struct udevice *dev) priv->netdev = dev; l_priv = priv; -get_ether_addr (CONFIG_USBNET_DEVADDR , pdata->enetaddr); +get_ether_addr (CONFIG_USBNET_DEV_ADDR , pdata->enetaddr);eth_env_set_enetaddr ("usbnet_devaddr" , pdata->enetaddr);return 0 ;
Signature · 1 line
2.30.2.windows.1
Quoted 8 lines · nachopitt
From: Ignacio Zamora <[email protected]>
Fix typo that was causing the same feature to be
splitted into 2 different configuration optionsReplacing
CONFIG_USBNET_DEVADDRwithCONFIG_USBNET_DEV_ADDRSigned-off-by Ignacio Zamora <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom