public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OMAP: USB: Fix compile warnings in board-2430sdp-usb.c
@ 2007-11-23 15:40 Gadiyar, Anand
  2007-11-23 21:46 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Gadiyar, Anand @ 2007-11-23 15:40 UTC (permalink / raw)
  To: linux-omap-open-source

From: Anand Gadiyar <gadiyar@ti.com>

Fixes warnings during compilation with CONFIG_USB_GADGET_MUSB_HDRC=y

Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
---
 arch/arm/mach-omap2/board-2430sdp-usb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Index: linux-omap-2.6-NOV23/arch/arm/mach-omap2/board-2430sdp-usb.c
===================================================================
--- linux-omap-2.6-NOV23.orig/arch/arm/mach-omap2/board-2430sdp-usb.c	2007-11-23 11:36:45
+++ linux-omap-2.6-NOV23/arch/arm/mach-omap2/board-2430sdp-usb.c	2007-11-23 11:41:41
@@ -37,9 +37,9 @@
 static struct musb_hdrc_platform_data musb_plat = {
 #ifdef CONFIG_USB_MUSB_OTG
 	.mode		= MUSB_OTG,
-#elif CONFIG_USB_MUSB_HDRC_HCD
+#elif defined(CONFIG_USB_MUSB_HDRC_HCD)
 	.mode		= MUSB_HOST,
-#elif CONFIG_USB_GADGET_MUSB_HDRC
+#elif defined(CONFIG_USB_GADGET_MUSB_HDRC)
 	.mode		= MUSB_PERIPHERAL,
 #endif
 	.multipoint	= 1,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-23 21:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-23 15:40 [PATCH] OMAP: USB: Fix compile warnings in board-2430sdp-usb.c Gadiyar, Anand
2007-11-23 21:46 ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox