Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

USB: omap1 ohci buildfix (otg related)

> > drivers/built-in.o: In function `ohci_omap_init':
> > hid-quirks.c:(.text+0x6c608): 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'

Reported-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by

David Brownell and committed by
Greg Kroah-Hartman
2bf5fa13 501950d8

+3 -2
+1
drivers/usb/host/Kconfig
··· 140 140 tristate "OHCI HCD support" 141 141 depends on USB && USB_ARCH_HAS_OHCI 142 142 select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3 143 + select USB_OTG_UTILS if ARCH_OMAP 143 144 ---help--- 144 145 The Open Host Controller Interface (OHCI) is a standard for accessing 145 146 USB 1.1 host controller hardware. It does more in hardware than Intel's
+2 -2
drivers/usb/otg/Kconfig
··· 6 6 7 7 comment "OTG and related infrastructure" 8 8 9 - if USB || USB_GADGET 10 - 11 9 config USB_OTG_UTILS 12 10 bool 13 11 help 14 12 Select this to make sure the build includes objects from 15 13 the OTG infrastructure directory. 14 + 15 + if USB || USB_GADGET 16 16 17 17 # 18 18 # USB Transceiver Drivers