Commit 2935077e authored by Bryan Wu's avatar Bryan Wu

[Blackfin] arch: Fix if/def BUG - and define is multipoint NO

Signed-off-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarBryan Wu <bryan.wu@analog.com>
parent 0e85e302
......@@ -226,14 +226,14 @@ static struct resource musb_resources[] = {
};
static struct musb_hdrc_platform_data musb_plat = {
#ifdef CONFIG_USB_MUSB_OTG
#if defined(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,
.multipoint = 0,
};
static u64 musb_dmamask = ~(u32)0;
......
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