A Kconfig choice only allows one 'y' selection or multiple 'm'
selections, but it is valid to have any combination of 'y' and 'm'
selections here (dependent on USB_MUSB_HDRC).  Use a menu instead.

Reported-by: Arnaud Patard <arnaud.pat...@rtp-net.org>
Signed-off-by: Ben Hutchings <b...@decadent.org.uk>
---
 drivers/usb/musb/Kconfig | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig
index 06cc5d6..655e5d1 100644
--- a/drivers/usb/musb/Kconfig
+++ b/drivers/usb/musb/Kconfig
@@ -58,8 +58,7 @@ config USB_MUSB_DUAL_ROLE
 
 endchoice
 
-choice
-       prompt "Platform Glue Layer"
+menu "Platform Glue Layer"
 
 config USB_MUSB_DAVINCI
        tristate "DaVinci"
@@ -101,7 +100,7 @@ config USB_MUSB_JZ4740
        depends on USB_MUSB_GADGET
        depends on USB_OTG_BLACKLIST_HUB
 
-endchoice
+endmenu
 
 config USB_MUSB_AM335X_CHILD
        tristate

-- 
Ben Hutchings
Beware of programmers who carry screwdrivers. - Leonard Brandwein

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to