* Russell King - ARM Linux <[email protected]> [090127 14:50]:
> Now that the usb_port_suspend() build error is fixed in 2.6.29-rc1-git6,
> n770_defconfig and omap_apollon_2420_defconfig now suffers from:
> 
> drivers/built-in.o: In function `ohci_omap_init':
> hid-quirks.c:(.text+0x6c620): undefined reference to `otg_get_transceiver'
> drivers/built-in.o: In function `omap_udc_probe':
> hid-quirks.c:(.init.text+0x34c0): undefined reference to `otg_get_transceiver'
> hid-quirks.c:(.init.text+0x3d40): undefined reference to `otg_put_transceiver'

Adding linux-usb to the list hoping there's already a fix for this.

To me it looks like there should be ifdef CONFIG_USB_OTG_UTILS instead
of CONFIG_USB_OTG in the drivers to keep them compiling when no
transceiver is selected.

Or otg.h should have inlined dummy functions for otg_get_transceiver
and otg_put_transceiver.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to