]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] ARM: OMAP: Allow CONFIG_USB_OTG for board-generic
authorJuha Yrjola <juha.yrjola@nokia.com>
Thu, 11 Aug 2005 13:52:59 +0000 (06:52 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 11 Aug 2005 13:52:59 +0000 (06:52 -0700)
Allow CONFIG_USB_OTG for board-generic

arch/arm/mach-omap1/board-generic.c

index b78733adaaec063b8bb2b55f93e10f4f865067e8..8be2344946d5a9b2151784a294e4f31d62feadd6 100644 (file)
@@ -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,