* [PATCH] remoteproc: make REMOTEPROC a menuconfig to ease disabling it all
@ 2017-12-09 15:34 Vincent Legoll
0 siblings, 0 replies; only message in thread
From: Vincent Legoll @ 2017-12-09 15:34 UTC (permalink / raw)
To: ohad, bjorn.andersson, linux-remoteproc, 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 REMOTEPROC 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/remoteproc/Kconfig | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig
index b609e1d3654b..29341c7d836d 100644
--- a/drivers/remoteproc/Kconfig
+++ b/drivers/remoteproc/Kconfig
@@ -1,4 +1,7 @@
-menu "Remoteproc drivers"
+menuconfig REMOTEPROC_MENU
+ bool "Remoteproc drivers"
+
+if REMOTEPROC_MENU
config REMOTEPROC
tristate "Support for Remote Processor subsystem"
@@ -10,8 +13,6 @@ config REMOTEPROC
Support for remote processors (such as DSP coprocessors). These
are mainly used on embedded systems.
-if REMOTEPROC
-
config IMX_REMOTEPROC
tristate "IMX6/7 remoteproc support"
depends on SOC_IMX6SX || SOC_IMX7D
@@ -140,6 +141,5 @@ config ST_REMOTEPROC
config ST_SLIM_REMOTEPROC
tristate
-endif # REMOTEPROC
+endif # REMOTEPROC_MENU
-endmenu
--
2.14.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-09 15:35 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:34 [PATCH] remoteproc: make REMOTEPROC 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;
as well as URLs for NNTP newsgroup(s).