From: Anand Gadiyar <[email protected]>

OMAP3: EHCI: Allow EHCI to work as a module again

commit fc3c45ca seems to have broken EHCI as a module. Fix this.

Signed-off-by: Anand Gadiyar <[email protected]>
---
diff --git a/arch/arm/mach-omap2/usb-ehci.c b/arch/arm/mach-omap2/usb-ehci.c
index 0fe26f2..56fc7f4 100644
--- a/arch/arm/mach-omap2/usb-ehci.c
+++ b/arch/arm/mach-omap2/usb-ehci.c
@@ -27,7 +27,7 @@
 #include <mach/irqs.h>
 #include <mach/usb.h>
 
-#if defined(CONFIG_USB_EHCI_HCD) || #define(CONFIG_USB_EHCI_HCD_MODULE)
+#if defined(CONFIG_USB_EHCI_HCD) || defined(CONFIG_USB_EHCI_HCD_MODULE)
 
 static struct resource ehci_resources[] = {
        {
--
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