forked from luck/tmp_suning_uos_patched
blackfin: fix musb macro name
Musb can't work since the marco name has been changed. Signed-off-by: Bob Liu <lliubbo@gmail.com>
This commit is contained in:
parent
3375a43f97
commit
b091694b5f
|
@ -114,9 +114,9 @@ static struct musb_hdrc_config musb_config = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct musb_hdrc_platform_data musb_plat = {
|
static struct musb_hdrc_platform_data musb_plat = {
|
||||||
#if defined(CONFIG_USB_MUSB_OTG)
|
#if defined(CONFIG_USB_MUSB_HDRC) && defined(CONFIG_USB_GADGET_MUSB_HDRC)
|
||||||
.mode = MUSB_OTG,
|
.mode = MUSB_OTG,
|
||||||
#elif defined(CONFIG_USB_MUSB_HDRC_HCD)
|
#elif defined(CONFIG_USB_MUSB_HDRC)
|
||||||
.mode = MUSB_HOST,
|
.mode = MUSB_HOST,
|
||||||
#elif defined(CONFIG_USB_GADGET_MUSB_HDRC)
|
#elif defined(CONFIG_USB_GADGET_MUSB_HDRC)
|
||||||
.mode = MUSB_PERIPHERAL,
|
.mode = MUSB_PERIPHERAL,
|
||||||
|
|
|
@ -635,9 +635,9 @@ static struct musb_hdrc_config musb_config = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct musb_hdrc_platform_data musb_plat = {
|
static struct musb_hdrc_platform_data musb_plat = {
|
||||||
#if defined(CONFIG_USB_MUSB_OTG)
|
#if defined(CONFIG_USB_MUSB_HDRC) && defined(CONFIG_USB_GADGET_MUSB_HDRC)
|
||||||
.mode = MUSB_OTG,
|
.mode = MUSB_OTG,
|
||||||
#elif defined(CONFIG_USB_MUSB_HDRC_HCD)
|
#elif defined(CONFIG_USB_MUSB_HDRC)
|
||||||
.mode = MUSB_HOST,
|
.mode = MUSB_HOST,
|
||||||
#elif defined(CONFIG_USB_GADGET_MUSB_HDRC)
|
#elif defined(CONFIG_USB_GADGET_MUSB_HDRC)
|
||||||
.mode = MUSB_PERIPHERAL,
|
.mode = MUSB_PERIPHERAL,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user