On Wed, Jan 20, 2010 at 07:51:48PM +0100, Valentin Longchamp wrote: > 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 of all mx3 platform 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@xxxxxxx> provided you do s/platform/platforms/ above, you get my Acked-by: Uwe Kleine-König <u.kleine-koenig@xxxxxxxxxxxxxx> (Is it better to say "build *for* all mx3 platforms"?) Thanks Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- 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