mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Felipe Contreras <felipe.contreras@gmail.com>
To: linux-usb@vger.kernel.org,
	linux-omap <linux-omap@vger.kernel.org>,
	linux-main <linux-kernel@vger.kernel.org>
Cc: Greg KH <greg@kroah.com>, Felipe Balbi <balbi@ti.com>,
	Tony Lindgren <tony@atomide.com>,
	Felipe Contreras <felipe.contreras@gmail.com>
Subject: [PATCH v2 1/3] usb: fix Kconfig warning
Date: Tue, 19 Oct 2010 13:03:26 +0300	[thread overview]
Message-ID: <1287482608-11320-2-git-send-email-felipe.contreras@gmail.com> (raw)
In-Reply-To: <1287482608-11320-1-git-send-email-felipe.contreras@gmail.com>

warning: (USB_MUSB_HDRC_HCD && USB_SUPPORT && USB_MUSB_HDRC &&
(USB_MUSB_HOST || USB_MUSB_OTG) && USB_GADGET_MUSB_HDRC || USB_MUSB_OTG
&& <choice> && USB && USB_GADGET && PM && EXPERIMENTAL) selects USB_OTG
which has unmet direct dependencies (USB_GADGET_OMAP && ARCH_OMAP_OTG &&
USB_OHCI_HCD)

This doesn't seem to happen on 2.6.36-rc8, but still doesn't make sense
to keep this duplicated config that is already defined in usb/core.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
 drivers/usb/gadget/Kconfig |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)

diff --git a/drivers/usb/gadget/Kconfig b/drivers/usb/gadget/Kconfig
index cd27f9b..19a6eb6 100644
--- a/drivers/usb/gadget/Kconfig
+++ b/drivers/usb/gadget/Kconfig
@@ -209,17 +209,6 @@ config USB_OMAP
 	default USB_GADGET
 	select USB_GADGET_SELECTED
 
-config USB_OTG
-	boolean "OTG Support"
-	depends on USB_GADGET_OMAP && ARCH_OMAP_OTG && USB_OHCI_HCD
-	help
-	   The most notable feature of USB OTG is support for a
-	   "Dual-Role" device, which can act as either a device
-	   or a host.  The initial role choice can be changed
-	   later, when two dual-role devices talk to each other.
-
-	   Select this only if your OMAP board has a Mini-AB connector.
-
 config USB_GADGET_PXA25X
 	boolean "PXA 25x or IXP 4xx"
 	depends on (ARCH_PXA && PXA25x) || ARCH_IXP4XX
-- 
1.7.3.1.2.g7fe2b


  reply	other threads:[~2010-10-19 10:04 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-19 10:03 [PATCH v2 0/3] usb: generic Kconfig fixes Felipe Contreras
2010-10-19 10:03 ` Felipe Contreras [this message]
2010-10-19 10:28   ` [PATCH v2 1/3] usb: fix Kconfig warning Felipe Balbi
2010-10-19 15:50     ` Greg KH
2010-10-20  6:34   ` Felipe Balbi
2010-10-19 10:03 ` [PATCH v2 2/3] usb: trivial Kconfig cleanups Felipe Contreras
2010-10-19 15:51   ` Greg KH
2010-10-19 17:15     ` Felipe Contreras
2010-10-19 17:50       ` Greg KH
2010-10-19 18:15         ` Felipe Contreras
2010-10-20 18:25   ` Felipe Balbi
2010-10-19 10:03 ` [PATCH v2 3/3] drivers: cleanup Kconfig stuff Felipe Contreras
2010-10-19 10:32   ` Felipe Balbi
2010-10-19 10:59     ` Felipe Contreras
2010-10-19 11:16       ` Felipe Balbi
2010-10-19 11:36         ` Felipe Contreras
2010-10-19 11:52           ` Felipe Balbi
2010-10-19 14:32             ` Felipe Contreras
2010-10-19 15:05               ` Felipe Balbi
2010-10-19 20:52                 ` Felipe Contreras
2010-10-19 23:44                   ` Tony Lindgren
2010-10-20  0:13                     ` Kevin Hilman
2010-10-20  0:31                       ` Tony Lindgren
2010-10-20  6:35                       ` Felipe Balbi
2010-10-20  8:47                       ` felipe.contreras
2010-10-19 13:40   ` Roger Quadros
2010-10-19 14:33     ` Felipe Contreras
2010-10-20  7:46       ` Roger Quadros
2010-10-20  8:01         ` Felipe Balbi
2010-10-20  8:53         ` felipe.contreras
2010-10-20  9:14           ` Roger Quadros
2010-10-20  9:23             ` Felipe Contreras
2010-10-20 12:33               ` Roger Quadros
2010-10-20 14:38                 ` Felipe Contreras
2010-10-21 14:07                   ` Roger Quadros
2010-10-21 15:41                     ` Felipe Balbi
2010-10-21 15:57                       ` Tony Lindgren
2010-10-20 12:33               ` Roger Quadros
2010-10-20 12:54               ` Felipe Balbi
2010-10-20 14:52                 ` Felipe Contreras
2010-10-20 15:15                   ` Felipe Balbi
2010-10-20 16:22                     ` Felipe Contreras
2010-10-20 17:54                       ` Felipe Balbi
2010-10-21  9:04                         ` Felipe Contreras
2010-10-21 10:24                           ` Felipe Balbi
2010-10-21 10:55                             ` Felipe Contreras
2010-10-19 15:52   ` Greg KH
2010-10-19 16:12     ` Anand Gadiyar
2010-10-19 16:23       ` Greg KH
2010-10-19 17:06       ` Kevin Hilman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1287482608-11320-2-git-send-email-felipe.contreras@gmail.com \
    --to=felipe.contreras@gmail.com \
    --cc=balbi@ti.com \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®