public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Make Common clock framework a menuconfig to ease disabling it all
@ 2017-07-02 16:09 Vincent Legoll
  2017-07-04 23:43 ` kbuild test robot
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Vincent Legoll @ 2017-07-02 16:09 UTC (permalink / raw)
  To: linux-kernel, mturquette, sboyd, linux-clk; +Cc: Vincent Legoll

No need to get into the submenu to disable all common clock framework
-related config entries

Signed-off-by: Vincent Legoll <vincent.legoll@gmail.com>
---
 drivers/clk/Kconfig | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 36cfea3..a1b174c 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -19,9 +19,12 @@ config COMMON_CLK
 	  Architectures utilizing the common struct clk should select
 	  this option.
 
-menu "Common Clock Framework"
+menuconfig COMMON_CLK_FRAMEWORK
+	tristate "Common Clock Framework"
 	depends on COMMON_CLK
 
+if COMMON_CLK_FRAMEWORK
+
 config COMMON_CLK_WM831X
 	tristate "Clock driver for WM831x/2x PMICs"
 	depends on MFD_WM831X
@@ -230,4 +233,4 @@ source "drivers/clk/tegra/Kconfig"
 source "drivers/clk/ti/Kconfig"
 source "drivers/clk/uniphier/Kconfig"
 
-endmenu
+endif # COMMON_CLK_FRAMEWORK
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-07-06  7:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-02 16:09 [PATCH] Make Common clock framework a menuconfig to ease disabling it all Vincent Legoll
2017-07-04 23:43 ` kbuild test robot
2017-07-04 23:46 ` kbuild test robot
2017-07-05 21:15 ` Stephen Boyd
2017-07-06  7:25   ` Vincent Legoll

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox