linux/debian/patches/bugfix/arm/omap-musb-choice.patch

34 lines
932 B
Diff

From: Arnaud Patard <arnaud.patard@rtp-net.org>
Subject: drivers/usb/musb/Kconfig: remove the 'Glue Layer' choice.
Forwarded: no
In the config.omap configuration, we're setting CONFIG_USB_MUSB_OMAP2PLUS
to 'y' but after running the script to create our configuration file, it's
set to 'm', even if 'y' is valid. This result in an invalid configuration
and build failure (missing omap_musb_mailbox symbol in our kernel binary).
Removing the choice entry make things work.
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
--- a/drivers/usb/musb/Kconfig
+++ b/drivers/usb/musb/Kconfig
@@ -56,9 +56,6 @@ config USB_MUSB_DUAL_ROLE
endchoice
-choice
- prompt "Platform Glue Layer"
-
config USB_MUSB_DAVINCI
tristate "DaVinci"
depends on ARCH_DAVINCI_DMx
@@ -99,8 +96,6 @@ config USB_MUSB_JZ4740
depends on USB_MUSB_GADGET
depends on USB_OTG_BLACKLIST_HUB
-endchoice
-
config USB_MUSB_AM335X_CHILD
tristate