diff options
author | Arnd Bergmann <arnd@arndb.de> | 2012-03-17 17:10:51 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-03-19 05:37:11 -0400 |
commit | 8fb61e33507e5d76b69467b4f96290338e96b733 (patch) | |
tree | 9a177f73ca0df9b7477565876de26a48dde0905f /drivers/clk/Kconfig | |
parent | 9d9f78ed9af0e465d2fd15550471956e7f559b9f (diff) |
clk: make CONFIG_COMMON_CLK invisible
All platforms that use the common clk infrastructure should select
COMMON_CLK from platform code, and on all other platforms, it must
not be enabled, so there is no point making the option visible to
users, and when it is visible, we break randconfig builds.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/clk/Kconfig')
-rw-r--r-- | drivers/clk/Kconfig | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 2eaf17ed2791..165e1febae53 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig | |||
@@ -9,21 +9,18 @@ config HAVE_CLK_PREPARE | |||
9 | config HAVE_MACH_CLKDEV | 9 | config HAVE_MACH_CLKDEV |
10 | bool | 10 | bool |
11 | 11 | ||
12 | menuconfig COMMON_CLK | 12 | config COMMON_CLK |
13 | bool "Common Clock Framework" | 13 | bool |
14 | select HAVE_CLK_PREPARE | 14 | select HAVE_CLK_PREPARE |
15 | ---help--- | 15 | ---help--- |
16 | The common clock framework is a single definition of struct | 16 | The common clock framework is a single definition of struct |
17 | clk, useful across many platforms, as well as an | 17 | clk, useful across many platforms, as well as an |
18 | implementation of the clock API in include/linux/clk.h. | 18 | implementation of the clock API in include/linux/clk.h. |
19 | Architectures utilizing the common struct clk should select | 19 | Architectures utilizing the common struct clk should select |
20 | this automatically, but it may be necessary to manually select | 20 | this option. |
21 | this option for loadable modules requiring the common clock | ||
22 | framework. | ||
23 | |||
24 | If in doubt, say "N". | ||
25 | 21 | ||
26 | if COMMON_CLK | 22 | menu "Common Clock Framework" |
23 | depends on COMMON_CLK | ||
27 | 24 | ||
28 | config COMMON_CLK_DISABLE_UNUSED | 25 | config COMMON_CLK_DISABLE_UNUSED |
29 | bool "Disabled unused clocks at boot" | 26 | bool "Disabled unused clocks at boot" |
@@ -47,4 +44,4 @@ config COMMON_CLK_DEBUG | |||
47 | clk_flags, clk_prepare_count, clk_enable_count & | 44 | clk_flags, clk_prepare_count, clk_enable_count & |
48 | clk_notifier_count. | 45 | clk_notifier_count. |
49 | 46 | ||
50 | endif | 47 | endmenu |