linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] usb: remove CONFIG_USB_MUSB_HOST etc
@ 2012-10-08 13:17 Constantine Shulyupin
  2012-10-11  5:42 ` Manjunathappa, Prakash
  2012-10-23 12:34 ` Sekhar Nori
  0 siblings, 2 replies; 8+ messages in thread
From: Constantine Shulyupin @ 2012-10-08 13:17 UTC (permalink / raw)
  To: linux-arm-kernel

From: Constantine Shulyupin <const@MakeLinux.com>

Remove USB configuration in arch/arm/mach-davinci/usb.c accordingly 
CONFIG_USB_MUSB_OTG CONFIG_USB_MUSB_PERIPHERAL CONFIG_USB_MUSB_HOST 
and set MUSB_OTG configuration by default
because this configuration options are removed from Kconfig.

Signed-off-by: Constantine Shulyupin <const@MakeLinux.com>
 
---
 arch/arm/mach-davinci/usb.c |    6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/arm/mach-davinci/usb.c b/arch/arm/mach-davinci/usb.c
index f77b953..34509ff 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,
 };
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-10-24 11:10 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-08 13:17 [PATCH] usb: remove CONFIG_USB_MUSB_HOST etc Constantine Shulyupin
2012-10-11  5:42 ` Manjunathappa, Prakash
2012-10-11  6:35   ` Heiko Schocher
2012-10-11  8:50     ` Sekhar Nori
2012-10-11 10:06       ` Constantine Shulyupin
2012-10-23 12:34 ` Sekhar Nori
2012-10-23 12:39   ` Felipe Balbi
2012-10-24 11:10     ` Sekhar Nori

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).