提交 2935077e 编写于 作者: B Bryan Wu

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

Signed-off-by: NMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: NBryan Wu <bryan.wu@analog.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册