Skip to contentSkip to conversation

Fix typo in CONFIG_USBNET_DEVADDR

PATCH In review nachopitt 2 participants 2 messages Oct 8, 2022 – Oct 12, 2022 USB

lore
Share & tools
lore

nachopitt

author
#0 lore raw

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

---
 drivers/usb/gadget/Kconfig | 2 +-
 drivers/usb/gadget/ether.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/usb/gadget/Kconfig +1 -1
index da9c9e3f10..e8da73c788 100644
@@ -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
index abb5332f13..6ce389de9f 100644
@@ -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
#1 lore raw
Quoted 8 lines · nachopitt

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

Applied to u-boot/master, thanks!

Signature · 1 line
Tom