From: Felipe Contreras <felipe.contreras@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
"Felipe Balbi" <balbi@ti.com>,
"Vladimir Zapolskiy" <vz@mleia.com>,
"Felipe Contreras" <felipe.contreras@gmail.com>,
"Greg Kroah-Hartman" <gregkh@suse.de> (supporter:USB SUBSYSTEM),
linux-usb@vger.kernel.org (open list:MUSB MULTIPOINT H...)
Subject: [PATCH 10/10] musb: cleanup kconfig
Date: Tue, 20 Dec 2011 02:42:27 +0200 [thread overview]
Message-ID: <1324341747-5922-11-git-send-email-felipe.contreras@gmail.com> (raw)
In-Reply-To: <1324341747-5922-1-git-send-email-felipe.contreras@gmail.com>
The whole thing depends on USB_MUSB_HDRC, just add an 'if'.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
---
drivers/usb/musb/Kconfig | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig
index b0a46e4..0844b8f 100644
--- a/drivers/usb/musb/Kconfig
+++ b/drivers/usb/musb/Kconfig
@@ -31,9 +31,10 @@ config USB_MUSB_HDRC
To compile this driver as a module, choose M here; the
module will be called "musb-hdrc".
+if USB_MUSB_HDRC
+
choice
prompt "Platform Glue Layer"
- depends on USB_MUSB_HDRC
config USB_MUSB_DAVINCI
tristate "DaVinci"
@@ -67,7 +68,6 @@ endchoice
config MUSB_PIO_ONLY
bool 'Disable DMA (always use PIO)'
- depends on USB_MUSB_HDRC
default USB_MUSB_TUSB6010 || USB_MUSB_DA8XX || USB_MUSB_AM35X
help
All data is copied between memory and FIFO by the CPU.
@@ -80,30 +80,32 @@ config MUSB_PIO_ONLY
config USB_UX500_DMA
bool
- depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
+ depends on !MUSB_PIO_ONLY
default USB_MUSB_UX500
help
Enable DMA transfers on UX500 platforms.
config USB_INVENTRA_DMA
bool
- depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
+ depends on !MUSB_PIO_ONLY
default USB_MUSB_OMAP2PLUS || USB_MUSB_BLACKFIN
help
Enable DMA transfers using Mentor's engine.
config USB_TI_CPPI_DMA
bool
- depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
+ depends on !MUSB_PIO_ONLY
default USB_MUSB_DAVINCI
help
Enable DMA transfers when TI CPPI DMA is available.
config USB_TUSB_OMAP_DMA
bool
- depends on USB_MUSB_HDRC && !MUSB_PIO_ONLY
+ depends on !MUSB_PIO_ONLY
depends on USB_MUSB_TUSB6010
depends on ARCH_OMAP
default y
help
Enable DMA transfers on TUSB 6010 when OMAP DMA is available.
+
+endif # USB_MUSB_HDRC
--
1.7.8.rc1.14.g248db
next prev parent reply other threads:[~2011-12-20 0:44 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-12-20 0:42 [PATCH 00/10] kconfigs cleanups and fixes Felipe Contreras
2011-12-20 0:42 ` [PATCH 01/10] arm: omap4: fix kconfig warning Felipe Contreras
2011-12-22 18:22 ` Tony Lindgren
2011-12-22 20:09 ` Felipe Contreras
2011-12-22 20:45 ` Tony Lindgren
2011-12-20 0:42 ` [PATCH 02/10] arm: vexpress: " Felipe Contreras
2011-12-22 11:39 ` Dave Martin
2011-12-22 16:15 ` Felipe Contreras
2011-12-20 0:42 ` [PATCH 03/10] arm: omap2: fix omap3 touchbook " Felipe Contreras
2011-12-22 18:22 ` Tony Lindgren
2011-12-20 0:42 ` [PATCH 04/10] arm: omap2: fix regulator warnings Felipe Contreras
2011-12-22 18:23 ` Tony Lindgren
2011-12-20 0:42 ` [PATCH 05/10] usb: musb: trivial Kconfig cleanups Felipe Contreras
2011-12-20 12:03 ` Felipe Balbi
2011-12-20 0:42 ` [PATCH 06/10] usb: core: " Felipe Contreras
2011-12-20 0:42 ` [PATCH 07/10] usb: gadget: remove useless depends on Kconfig Felipe Contreras
2011-12-20 12:04 ` Felipe Balbi
2011-12-20 0:42 ` [PATCH 08/10] usb: gadget: remove useless dependency in config Felipe Contreras
2011-12-20 10:42 ` Felipe Balbi
2011-12-22 16:14 ` Felipe Contreras
2011-12-27 20:51 ` Felipe Balbi
2011-12-20 0:42 ` [PATCH 09/10] usb: otg: trivial cleanups Felipe Contreras
2011-12-20 12:04 ` Felipe Balbi
2011-12-20 0:42 ` Felipe Contreras [this message]
2011-12-20 12:03 ` [PATCH 10/10] musb: cleanup kconfig Felipe Balbi
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=1324341747-5922-11-git-send-email-felipe.contreras@gmail.com \
--to=felipe.contreras@gmail.com \
--cc=balbi@ti.com \
--cc=gregkh@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=u.kleine-koenig@pengutronix.de \
--cc=vz@mleia.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®