* [PATCH] nvme: make NVME a menuconfig to ease disabling it all
@ 2017-12-09 15:40 Vincent Legoll
0 siblings, 0 replies; only message in thread
From: Vincent Legoll @ 2017-12-09 15:40 UTC (permalink / raw)
To: sagi, rdunlap, keith.busch, linux-kernel; +Cc: Vincent Legoll
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-09 15:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-09 15:40 [PATCH] nvme: make NVME a menuconfig to ease disabling it all Vincent Legoll
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®