]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
musb_hdrc: Fix compile if CONFIG_ARCH_OMAP_OTG is not set
authorTony Lindgren <tony@atomide.com>
Thu, 11 Oct 2007 16:54:54 +0000 (09:54 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 11 Oct 2007 21:31:35 +0000 (14:31 -0700)
Fix compile if CONFIG_ARCH_OMAP_OTG is not set

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/usb.c

index a5aedf964b88042d6b74765ec3b5fb6cf548eb9b..81d3d81c0de7edb592f421f0b98dc62a19b3cbf9 100644 (file)
@@ -76,7 +76,7 @@
 
 /*-------------------------------------------------------------------------*/
 
-#ifdef CONFIG_ARCH_OMAP_OTG
+#if    defined(CONFIG_ARCH_OMAP_OTG) || defined(CONFIG_USB_MUSB_OTG)
 
 static struct otg_transceiver *xceiv;