[PATCH] usb: dwc3: fix use of bool for prompt choice

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Feb 17 01:59:21 PST 2025


A choice has a prompt, but no type. Newer versions of Kconfig will
start throwing an error if this is violated, so fix it in anticipation.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 drivers/usb/dwc3/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/dwc3/Kconfig b/drivers/usb/dwc3/Kconfig
index ef1f83bef7aa..de5f0ef6f3eb 100644
--- a/drivers/usb/dwc3/Kconfig
+++ b/drivers/usb/dwc3/Kconfig
@@ -15,7 +15,7 @@ config USB_DWC3
 if USB_DWC3
 
 choice
-	bool "DWC3 Mode Selection"
+	prompt "DWC3 Mode Selection"
 
 config USB_DWC3_HOST
 	bool "Host only mode"
-- 
2.39.5




More information about the barebox mailing list