* Re: [git:v4l-dvb/master] USB: otg Kconfig: let USB_OTG_UTILS select USB_ULPI option
[not found] <E1Nnuwt-0000VW-Fm@www.linuxtv.org>
@ 2010-03-07 20:20 ` Uwe Kleine-König
0 siblings, 0 replies; only message in thread
From: Uwe Kleine-König @ 2010-03-07 20:20 UTC (permalink / raw)
To: linux-media; +Cc: Greg Kroah-Hartman, Valentin Longchamp
Hello,
On Sat, Mar 06, 2010 at 03:25:47PM +0100, Patch from Valentin Longchamp wrote:
> From: Valentin Longchamp <valentin.longchamp@epfl.ch>
> MIME-Version: 1.0
> Content-Type: text/plain; charset=utf-8
> Content-Transfer-Encoding: 8bit
>
> 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>
>
> drivers/usb/otg/Kconfig | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
I wonder why I got this patch (and two others) via linux-media. AFAIK
they go in (or maybe even are in) Linus' tree via other trees?!
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
^ permalink raw reply [flat|nested] only message in thread