android_kernel_xiaomi_sm8350/drivers/usb/otg
Valentin Longchamp dd091c7b32 USB: otg Kconfig: let USB_OTG_UTILS select USB_ULPI option
With CONFIG_USB_ULPI=y, CONFIG_USB<=m, CONFIG_PCI=n and
CONFIG_USB_OTG_UTILS=n, which is the default used for mx31moboard,
the build for all mx3 platforms fails because drivers/usb/otg/ulpi.c
where otg_ulpi_create is defined is not compiled.

Build error:
arch/arm/mach-mx3/built-in.o: In function `mxc_board_init':
kzmarm11.c:(.init.text+0x73c): undefined reference to `otg_ulpi_create'
kzmarm11.c:(.init.text+0x1020): undefined reference to `otg_ulpi_create'

This isn't a strong dependency as drivers/usb/otg/ulpi.c doesn't
use functions defined in drivers/usb/otg/otg.o and is only needed
to get ulpi.o linked into the kernel image.

Signed-off-by: Valentin Longchamp <valentin.longchamp@epfl.ch>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-02-16 15:11:09 -08:00
..
gpio_vbus.c
isp1301_omap.c usb: otg: isp1301_omap: fix compile error 2009-12-23 11:34:19 -08:00
Kconfig USB: otg Kconfig: let USB_OTG_UTILS select USB_ULPI option 2010-02-16 15:11:09 -08:00
Makefile USB OTG: Add generic driver for ULPI OTG transceiver 2009-12-11 11:55:16 -08:00
nop-usb-xceiv.c USB: otg: fix module reinsert issue 2009-07-12 15:16:41 -07:00
otg.c USB: otg: Fix bug on remove path without transceiver 2009-04-23 14:15:31 -07:00
twl4030-usb.c mfd: Rename all twl4030_i2c* 2009-12-13 21:23:33 +01:00
ulpi.c USB OTG: Add generic driver for ULPI OTG transceiver 2009-12-11 11:55:16 -08:00