diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2008-07-24 00:26:48 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 13:47:13 -0400 |
commit | 9483a578df27fe7603605d565eefe039c1ba5845 (patch) | |
tree | e8f071d503b26d23d22556ec5d115cd67a45d47c /arch/Kconfig | |
parent | d7ce20b2024d318b9ba88859226af1441270d99f (diff) |
add HAVE_CLK to Kconfig, for driver dependencies
Flag platforms as HAVE_CLK (or not) in Kconfig, based on whether they
support <linux/clk.h> calls, so that otherwise portable drivers which need
those calls can list that dependency.
Something like this is a prerequisite for merging the musb_hdrc driver,
currently used on platforms including Davinci, OMAP2430, OMAP3xx ... and
the discrete TUSB6010 chip, which doesn't have a natural platform
dependency. (Used with OMAP 2420 in current Nokia N8x0 tablets.)
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Acked-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/Kconfig')
-rw-r--r-- | arch/Kconfig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/Kconfig b/arch/Kconfig index ad89a33d8c6..4d5ebbc1e72 100644 --- a/arch/Kconfig +++ b/arch/Kconfig | |||
@@ -42,3 +42,10 @@ config HAVE_DMA_ATTRS | |||
42 | 42 | ||
43 | config USE_GENERIC_SMP_HELPERS | 43 | config USE_GENERIC_SMP_HELPERS |
44 | def_bool n | 44 | def_bool n |
45 | |||
46 | config HAVE_CLK | ||
47 | def_bool n | ||
48 | help | ||
49 | The <linux/clk.h> calls support software clock gating and | ||
50 | thus are a key power management tool on many systems. | ||
51 | |||