Skip to contentSkip to conversation

Make MIC a menuconfig to ease disabling it all

PATCH New Vincent Legoll 1 participant 1 message Dec 3, 2017 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Make MIC a menuconfig to ease disabling it all

No need to get into the submenu to disable all MIC-related config entries

---
 drivers/misc/mic/Kconfig | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
drivers/misc/mic/Kconfig +5 -2
index 227cc7443671..badc84356715 100644
@@ -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
Signature · 1 line
2.11.0