Commit 6094b32c authored by Anand Gadiyar's avatar Anand Gadiyar Committed by Tony Lindgren

OMAP: USB: Fix compile warnings in board-2430sdp-usb.c

Fixes warnings during compilation with CONFIG_USB_GADGET_MUSB_HDRC=y
Signed-off-by: default avatarAnand Gadiyar <gadiyar@ti.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 390fbdaf
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment