Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e057519 authored by Constantine Shulyupin's avatar Constantine Shulyupin Committed by Sekhar Nori
Browse files

ARM: davinci: usb: remove CONFIG_USB_MUSB_HOST etc



Remove usage of CONFIG_USB_MUSB_OTG, CONFIG_USB_MUSB_PERIPHERAL
and CONFIG_USB_MUSB_HOST in arch/arm/mach-davinci/usb.c since these
are not used anymore and set mode configuration by default to
MUSB_OTG.

Signed-off-by: default avatarConstantine Shulyupin <const@MakeLinux.com>
[prakash.pm@ti.com: Tested on DM6446-EVM]
Acked-by: default avatarManjunathappa, Prakash <prakash.pm@ti.com>
Acked-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarSekhar Nori <nsekhar@ti.com>
parent 6f0c0580
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -42,14 +42,8 @@ static struct musb_hdrc_config musb_config = {
};

static struct musb_hdrc_platform_data usb_data = {
#if defined(CONFIG_USB_MUSB_OTG)
	/* OTG requires a Mini-AB connector */
	.mode           = MUSB_OTG,
#elif defined(CONFIG_USB_MUSB_PERIPHERAL)
	.mode           = MUSB_PERIPHERAL,
#elif defined(CONFIG_USB_MUSB_HOST)
	.mode           = MUSB_HOST,
#endif
	.clock		= "usb",
	.config		= &musb_config,
};