From 6094b32c5fa10a83d034c0608653712df1a87623 Mon Sep 17 00:00:00 2001 From: Anand Gadiyar Date: Fri, 23 Nov 2007 21:10:34 +0530 Subject: [PATCH] OMAP: USB: Fix compile warnings in board-2430sdp-usb.c Fixes warnings during compilation with CONFIG_USB_GADGET_MUSB_HDRC=y Signed-off-by: Anand Gadiyar Signed-off-by: Tony Lindgren --- arch/arm/mach-omap2/board-2430sdp-usb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-omap2/board-2430sdp-usb.c b/arch/arm/mach-omap2/board-2430sdp-usb.c index 938f3cd85f8..908a0c0be5b 100644 --- a/arch/arm/mach-omap2/board-2430sdp-usb.c +++ b/arch/arm/mach-omap2/board-2430sdp-usb.c @@ -37,9 +37,9 @@ static struct resource musb_resources[] = { 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, -- 2.41.1