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

34 lines
922 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
@@ -92,8 +89,6 @@ config USB_MUSB_BLACKFIN
config USB_MUSB_UX500
tristate "U8500 and U5500"
-endchoice
-
config USB_MUSB_AM335X_CHILD
tristate