]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
add HAVE_CLK to Kconfig, for driver dependencies
authorDavid Brownell <dbrownell@users.sourceforge.net>
Thu, 24 Jul 2008 04:26:48 +0000 (21:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 24 Jul 2008 17:47:13 +0000 (10:47 -0700)
commit9483a578df27fe7603605d565eefe039c1ba5845
treee8f071d503b26d23d22556ec5d115cd67a45d47c
parentd7ce20b2024d318b9ba88859226af1441270d99f
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>
arch/Kconfig
arch/arm/Kconfig
arch/avr32/Kconfig
arch/powerpc/Kconfig
arch/sh/Kconfig