[RFC] clocksource: Add clocksource drivers menu.

From: Srinivas KANDAGATLA
Date: Fri May 31 2013 - 06:08:42 EST


From: Srinivas Kandagatla <srinivas.kandagatla@xxxxxx>

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@xxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/