usb: otg: Fix build errors if USB_MUSB_OMAP2PLUS is selected as module
PATCH 1/1 usb: otg: Fix build errors if USB_MUSB_OMAP2PLUS is selected as module
TWL4030_USB & TWL6030_USB must depend on USB_MUSB_OMAP2PLUS in Kconfig else we get build errors with
CONFIG_USB_MUSB_HDRC=mCONFIG_USB_MUSB_OMAP2PLUS=mCONFIG_TWL4030_USB=yCONFIG_TWL6030_USB=y
LD init/built-in.odrivers/built-in.o: In function `twl4030_usb_irq':drivers/usb/otg/twl4030-usb.c:518: undefined reference to omap_musb_mailbox' drivers/built-in.o: In function twl4030_usb_phy_init':drivers/usb/otg/twl4030-usb.c:540: undefined reference to `omap_musb_mailbox'
drivers/built-in.o: In function `twl6030_usb_irq':drivers/usb/otg/twl6030-usb.c:230: undefined reference to omap_musb_mailbox' drivers/usb/otg/twl6030-usb.c:225: undefined reference to omap_musb_mailbox' drivers/built-in.o: In function `twl6030_usbotg_irq':drivers/usb/otg/twl6030-usb.c:259: undefined reference to `omap_musb_mailbox'
--- drivers/usb/otg/Kconfig | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/usb/otg/Kconfig +2 -2
@@ -58,7 +58,7 @@ config USB_ULPI_VIEWPORT config TWL4030_USB tristate "TWL4030 USB Transceiver Driver" - depends on TWL4030_CORE && REGULATOR_TWL4030 + depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS select USB_OTG_UTILS help Enable this to support the USB OTG transceiver on TWL4030
@@ -68,7 +68,7 @@ config TWL4030_USB config TWL6030_USB tristate "TWL6030 USB Transceiver Driver" - depends on TWL4030_CORE && OMAP_USB2 + depends on TWL4030_CORE && OMAP_USB2 && USB_MUSB_OMAP2PLUS select USB_OTG_UTILS help Enable this to support the USB OTG transceiver on TWL6030
Signature · 6 lines
1.7.4.1 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html