Patchwork [01/21] clk: add config option HAVE_CLK_PREPARE into Kconfig

login
register
mail settings
Submitter Ike Panhc
Date June 6, 2012, 12:26 p.m.
Message ID <1338985605-25960-1-git-send-email-ike.pan@canonical.com>
Download mbox | patch
Permalink /patch/163333/
State New
Headers show

Comments

Ike Panhc - June 6, 2012, 12:26 p.m.
From: Shawn Guo <shawn.guo@linaro.org>

BugLink: http://launchpad.net/bugs/1008345

The commit 40d3e0f (clk: provide prepare/unprepare functions) provides
the config option HAVE_CLK_PREPARE for platforms that have
prepare/unprepare implementation to select.  This patch adds the option
into drivers/clk/Kconfig, so that it can be actually selected.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Cc: Russell King <rmk+kernel@arm.linux.org.uk>
(cherry picked from commit 5c77f5608a5081632b9530e5f3260f8b63247bd8)

Signed-off-by: Ike Panhc <ike.pan@canonical.com>
---
 drivers/clk/Kconfig |    3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 3530927..9b3cd08 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -3,5 +3,8 @@  config CLKDEV_LOOKUP
 	bool
 	select HAVE_CLK
 
+config HAVE_CLK_PREPARE
+	bool
+
 config HAVE_MACH_CLKDEV
 	bool