[PATCH 1/4] clk: select CLKDEV_LOOKUP for COMMON_CLK

From
Turquette, Mike <hidden>
Date
2012-04-17 22:14:15
Also in
linux-devicetree, lkml
Reply to
Rob Herring, 2012-04-09
On Mon, Apr 9, 2012 at 1:24 PM, Rob Herring [off-list ref] wrote:
quoted hunk ↗ jump to hunk
From: Rob Herring <redacted>

Using the common clock infrastructure without the common clkdev code makes
little sense, so select CLKDEV_LOOKUP for COMMON_CLK.

Signed-off-by: Rob Herring <redacted>
---
?drivers/clk/Kconfig | ? ?1 +
?1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 165e1fe..f05a60d 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -12,6 +12,7 @@ config HAVE_MACH_CLKDEV
?config COMMON_CLK
? ? ? ?bool
? ? ? ?select HAVE_CLK_PREPARE
+ ? ? ? select CLKDEV_LOOKUP
? ? ? ?---help---
? ? ? ? ?The common clock framework is a single definition of struct
? ? ? ? ?clk, useful across many platforms, as well as an
Hi Rob,

I agree that the common clk framework is not particularly useful
without clkdev.  However the core code has no dependency on clkdev.
Why not just select it from an arch Kconfig, or even make it a
dependency based on your own platform clock data/code?

Regards,
Mike
--
1.7.5.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Thread (16 messages) 16 messages, 5 authors, last reply 2012-05-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help