]> git.baikalelectronics.ru Git - kernel.git/commit
usb: musb: tusb-dma can't be built-in if tusb is not
authorArnd Bergmann <arnd@arndb.de>
Thu, 8 May 2014 13:52:15 +0000 (15:52 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 14 May 2014 14:23:31 +0000 (09:23 -0500)
commit191f4639fe369adbf76eb77c5acc9867d82bb2e2
tree65f4a0678361bd554ba126893b4cee608693ee4a
parent7e770ed5ab17a118e957bd7ef08dc86dd61eaef2
usb: musb: tusb-dma can't be built-in if tusb is not

A configuration with CONFIG_USB_MUSB_HDRC=y, CONFIG_USB_TUSB_OMAP_DMA=y
and CONFIG_USB_MUSB_TUSB6010=m causes a link failure because of the
dependency on the tusb_get_revision symbol:

(.text+0x154ce8): undefined reference to `tusb_get_revision'

This patch ensures that either MUSB_HDRC and MUSB_TUSB6010 are
both modules or both built-in, which are the valid configurations.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: linux-omap@vger.kernel.org
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/Kconfig