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>
This commit is contained in:
David Brownell 2009-01-24 17:55:57 -08:00 committed by Greg Kroah-Hartman
parent 501950d846
commit 2bf5fa13fc
2 changed files with 3 additions and 2 deletions

View File

@ -140,6 +140,7 @@ config USB_OHCI_HCD
tristate "OHCI HCD support" tristate "OHCI HCD support"
depends on USB && USB_ARCH_HAS_OHCI depends on USB && USB_ARCH_HAS_OHCI
select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3 select ISP1301_OMAP if MACH_OMAP_H2 || MACH_OMAP_H3
select USB_OTG_UTILS if ARCH_OMAP
---help--- ---help---
The Open Host Controller Interface (OHCI) is a standard for accessing The Open Host Controller Interface (OHCI) is a standard for accessing
USB 1.1 host controller hardware. It does more in hardware than Intel's USB 1.1 host controller hardware. It does more in hardware than Intel's

View File

@ -6,14 +6,14 @@
comment "OTG and related infrastructure" comment "OTG and related infrastructure"
if USB || USB_GADGET
config USB_OTG_UTILS config USB_OTG_UTILS
bool bool
help help
Select this to make sure the build includes objects from Select this to make sure the build includes objects from
the OTG infrastructure directory. the OTG infrastructure directory.
if USB || USB_GADGET
# #
# USB Transceiver Drivers # USB Transceiver Drivers
# #