On Wed, Jan 07, 2009 at 04:44:06PM +0530, Ajay Kumar Gupta wrote: > Fixes the compilation error while musb is selected for OMAP35x EVM and > twl4030 phy is not selected and thus USB_OTG_UTILS is also not defined. > This causes below compilation error, > > drivers/built-in.o: In function `musb_platform_init': > hid-quirks.c:(.init.text+0x4244): undefined reference to `otg_get_transceiver' > make: *** [.tmp_vmlinux1] Error 1 > > Signed-off-by: Ajay Kumar Gupta <ajay.gupta@xxxxxx> Acked-by: Felipe Balbi <felipe.balbi@xxxxxxxxx> > --- > drivers/usb/musb/Kconfig | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig > index 669acbe..764e362 100644 > --- a/drivers/usb/musb/Kconfig > +++ b/drivers/usb/musb/Kconfig > @@ -11,6 +11,7 @@ config USB_MUSB_HDRC > depends on (USB || USB_GADGET) && HAVE_CLK > depends on !SUPERH > select TWL4030_USB if MACH_OMAP_3430SDP > + select USB_OTG_UTILS if ARCH_OMAP34XX > tristate 'Inventra Highspeed Dual Role Controller (TI, ADI, ...)' > help > Say Y here if your system has a dual role high speed USB > -- > 1.5.6 -- balbi -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html