mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Make MIC a menuconfig to ease disabling it all
@ 2017-12-03 12:09 Vincent Legoll
  0 siblings, 0 replies; only message in thread
From: Vincent Legoll @ 2017-12-03 12:09 UTC (permalink / raw)
  To: sudeep.dutt, ashutosh.dixit, linux-kernel; +Cc: Vincent Legoll

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-12-03 12:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-03 12:09 [PATCH] Make MIC 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®