From: Constantine Shulyupin Date: Mon, 8 Oct 2012 13:17:07 +0000 (+0200) Subject: ARM: davinci: usb: remove CONFIG_USB_MUSB_HOST etc X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0e0575197259d5de13c51cac0b98336506fd2f85;p=linux-beck.git 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: Constantine Shulyupin [prakash.pm@ti.com: Tested on DM6446-EVM] Acked-by: Manjunathappa, Prakash Acked-by: Felipe Balbi Signed-off-by: Sekhar Nori --- diff --git a/arch/arm/mach-davinci/usb.c b/arch/arm/mach-davinci/usb.c index f77b95336e2b..34509ffba221 100644 --- a/arch/arm/mach-davinci/usb.c +++ b/arch/arm/mach-davinci/usb.c @@ -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, };