USB: otg Kconfig: let USB_OTG_UTILS select USB_ULPI option
Hello,
Quoted 19 lines · Patch from Valentin Longchamp
From: Valentin Longchamp <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bitWith
CONFIG_USB_ULPI=y, CONFIG_USB<=m,CONFIG_PCI=nandCONFIG_USB_OTG_UTILS=n, which is the default used for mx31moboard, the build for all mx3 platforms fails becausedrivers/usb/otg/ulpi.cwhereotg_ulpi_createis 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 tootg_ulpi_create' kzmarm11.c:(.init.text+0x1020): undefined reference tootg_ulpi_create'This isn't a strong dependency as
drivers/usb/otg/ulpi.cdoesn't use functions defined indrivers/usb/otg/otg.oand is only needed to get ulpi.o linked into the kernel image.
Quoted 6 lines
Signed-off-by Valentin Longchamp <[email protected]>Acked-by Uwe Kleine-König <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>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
Signature · 2 lines
Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ |