From: Vincent Legoll <vincent.legoll@gmail.com>
To: sudeep.dutt@intel.com, ashutosh.dixit@intel.com,
linux-kernel@vger.kernel.org
Cc: Vincent Legoll <vincent.legoll@gmail.com>
Subject: [PATCH] Make MIC a menuconfig to ease disabling it all
Date: Sun, 3 Dec 2017 13:09:37 +0100 [thread overview]
Message-ID: <20171203120937.15559-1-vincent.legoll@gmail.com> (raw)
No need to get into the submenu to disable all MIC-related config entries
Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
drivers/misc/mic/Kconfig | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/misc/mic/Kconfig b/drivers/misc/mic/Kconfig
index 227cc7443671..badc84356715 100644
--- a/drivers/misc/mic/Kconfig
+++ b/drivers/misc/mic/Kconfig
@@ -1,4 +1,7 @@
-menu "Intel MIC & related support"
+menuconfig INTEL_MISC_BUS
+ bool "Intel MIC & related support"
+
+if INTEL_MISC_BUS
comment "Intel MIC Bus Driver"
@@ -153,4 +156,4 @@ if VOP
source "drivers/vhost/Kconfig.vringh"
endif
-endmenu
+endif # INTEL_MISC_BUS
--
2.11.0
reply other threads:[~2017-12-03 12:09 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=20171203120937.15559-1-vincent.legoll@gmail.com \
--to=vincent.legoll@gmail.com \
--cc=ashutosh.dixit@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sudeep.dutt@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
all inboxes | Powered by JetHome®