From: Juha Yrjola <juha.yrjola@nokia.com>
Date: Thu, 11 Aug 2005 13:52:59 +0000 (-0700)
Subject: [PATCH] ARM: OMAP: Allow CONFIG_USB_OTG for board-generic
X-Git-Tag: v2.6.13-omap1~28^2~5
X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=28e9cc8469950c2602575e781147e7b7c39161ff;p=linux-2.6-omap-h63xx.git

[PATCH] ARM: OMAP: Allow CONFIG_USB_OTG for board-generic

Allow CONFIG_USB_OTG for board-generic
---

diff --git a/arch/arm/mach-omap1/board-generic.c b/arch/arm/mach-omap1/board-generic.c
index b78733adaae..8be2344946d 100644
--- a/arch/arm/mach-omap1/board-generic.c
+++ b/arch/arm/mach-omap1/board-generic.c
@@ -48,6 +48,9 @@ static struct omap_usb_config generic1510_usb_config __initdata = {
 
 #if defined(CONFIG_ARCH_OMAP16XX)
 static struct omap_usb_config generic1610_usb_config __initdata = {
+#ifdef CONFIG_USB_OTG
+	.otg		= 1,
+#endif
 	.register_host	= 1,
 	.register_dev	= 1,
 	.hmc_mode	= 16,