]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] omap: fix build error in ohci-omap.c
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Wed, 3 Sep 2008 22:59:23 +0000 (23:59 +0100)
committerTony Lindgren <tony@atomide.com>
Thu, 4 Sep 2008 18:34:05 +0000 (11:34 -0700)
drivers/usb/host/ohci-omap.c: In function 'ohci_omap_init':
drivers/usb/host/ohci-omap.c:228: error: 'start_hnp' undeclared (first use in this function)

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/usb/host/ohci-omap.c

index abba018f90615514e20e1cd208cf89a7fc9f0111..01d37f911efbc89b4acf49bf1bf614f8d3158806 100644 (file)
@@ -208,7 +208,7 @@ static int ohci_omap_init(struct usb_hcd *hcd)
        if (cpu_is_omap16xx())
                ocpi_enable();
 
-#ifdef CONFIG_ARCH_OMAP_OTG
+#ifdef CONFIG_USB_OTG
        if (need_transceiver) {
                ohci->transceiver = otg_get_transceiver();
                if (ohci->transceiver) {