From: Vincent Legoll <vincent.legoll@gmail.com>
To: sagi@grimberg.me, rdunlap@infradead.org, keith.busch@intel.com,
linux-kernel@vger.kernel.org
Cc: Vincent Legoll <vincent.legoll@gmail.com>
Subject: [PATCH] nvme: make NVME a menuconfig to ease disabling it all
Date: Sat, 9 Dec 2017 16:40:13 +0100 [thread overview]
Message-ID: <20171209154013.5626-1-vincent.legoll@gmail.com> (raw)
No need to get into the submenu to disable all related
config entries.
This makes it easier to disable all NVME config options
without entering the submenu. It will also enable one
to see that en/dis-abled state from the outside menu.
This is only intended to change menuconfig UI, not change
the config dependencies.
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
drivers/nvme/Kconfig | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/nvme/Kconfig b/drivers/nvme/Kconfig
index 04008e0bbe81..aad33a0dfbce 100644
--- a/drivers/nvme/Kconfig
+++ b/drivers/nvme/Kconfig
@@ -1,6 +1,9 @@
-menu "NVME Support"
+menuconfig NVME_MENU
+ bool "NVME Support"
+
+if NVME_MENU
source "drivers/nvme/host/Kconfig"
source "drivers/nvme/target/Kconfig"
-endmenu
+endif # NVME_MENU
--
2.14.1
reply other threads:[~2017-12-09 15:40 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=20171209154013.5626-1-vincent.legoll@gmail.com \
--to=vincent.legoll@gmail.com \
--cc=keith.busch@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=sagi@grimberg.me \
/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®