public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC] clocksource: Add clocksource drivers menu.
@ 2013-05-31  9:59 Srinivas KANDAGATLA
  2013-05-31 18:40 ` John Stultz
  0 siblings, 1 reply; 4+ messages in thread
From: Srinivas KANDAGATLA @ 2013-05-31  9:59 UTC (permalink / raw)
  To: John Stultz, Thomas Gleixner; +Cc: linux-kernel, Srinivas Kandagatla

From: Srinivas Kandagatla <srinivas.kandagatla@st.com>

This patch adds "Clocksource drivers" menu to clocksource drivers.
The reason to add this is because, some of the clocksource Kconfig
options like *SHED_CLK ones are selectable and they appear at random
places in the device drivers menu.
These options can be more than one option for multiplatform case, so I
think it will be neat to get a menu to clocksource drivers itself.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
---
Hi All, 
I noticed that if my clock source has a selectable option, it appears as an
option under device drivers menu without any sub-menu, which seems to be bit
confusing and un-usual.

Having a dedicated menu for clock source makes much sense as these options might
grow as we have more than one clocksource driver as part of multi-platform
builds.

Thanks,
srini

 drivers/clocksource/Kconfig |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index f151c6c..2e0f37b 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -1,3 +1,5 @@
+menu "Clocksource drivers"
+
 config CLKSRC_OF
 	bool
 
@@ -85,3 +87,5 @@ config CLKSRC_SAMSUNG_PWM
 	  Samsung S3C, S5P and Exynos SoCs, replacing an earlier driver
 	  for all devicetree enabled platforms. This driver will be
 	  needed only on systems that do not have the Exynos MCT available.
+
+endmenu
-- 
1.7.6.5


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

end of thread, other threads:[~2013-06-03 18:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-31  9:59 [RFC] clocksource: Add clocksource drivers menu Srinivas KANDAGATLA
2013-05-31 18:40 ` John Stultz
2013-06-03  7:23   ` Srinivas KANDAGATLA
2013-06-03 18:19     ` John Stultz

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