From: Jean Delvare <jdelvare@suse.de>
To: linux-wireless@vger.kernel.org
Cc: Lauro Ramos Venancio <lauro.venancio@openbossa.org>,
Aloisio Almeida Jr <aloisio.almeida@openbossa.org>,
Samuel Ortiz <sameo@linux.intel.com>
Subject: [PATCH] NFC: nfcmrvl: Auto-select core module
Date: Sat, 19 Apr 2014 12:52:47 +0200 [thread overview]
Message-ID: <20140419125247.40671230@endymion.delvare> (raw)
As I understand it, the core nfcmrvl module is useless without the
USB access module. So hide NFC_MRVL and select it automatically if
NFC_MRVL_USB is selected.
This avoids presenting NFC_MRVL when NFC_MRVL_USB can't be selected.
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Lauro Ramos Venancio <lauro.venancio@openbossa.org>
Cc: Aloisio Almeida Jr <aloisio.almeida@openbossa.org>
Cc: Samuel Ortiz <sameo@linux.intel.com>
---
drivers/nfc/nfcmrvl/Kconfig | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
--- linux-3.15-rc1.orig/drivers/nfc/nfcmrvl/Kconfig 2014-03-31 05:40:15.000000000 +0200
+++ linux-3.15-rc1/drivers/nfc/nfcmrvl/Kconfig 2014-04-18 21:10:14.493649773 +0200
@@ -1,18 +1,15 @@
config NFC_MRVL
- tristate "Marvell NFC driver support"
- depends on NFC_NCI
+ tristate
help
The core driver to support Marvell NFC devices.
This driver is required if you want to support
Marvell NFC device 8897.
- Say Y here to compile Marvell NFC driver into the kernel or
- say M to compile it as module.
-
config NFC_MRVL_USB
- tristate "Marvell NFC-over-USB driver"
- depends on NFC_MRVL && USB
+ tristate "Marvell Avastar 88W8897 device support (USB)"
+ depends on NFC_NCI && USB
+ select NFC_MRVL
help
Marvell NFC-over-USB driver.
--
Jean Delvare
SUSE L3 Support
reply other threads:[~2014-04-19 10:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20140419125247.40671230@endymion.delvare \
--to=jdelvare@suse.de \
--cc=aloisio.almeida@openbossa.org \
--cc=lauro.venancio@openbossa.org \
--cc=linux-wireless@vger.kernel.org \
--cc=sameo@linux.intel.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