[PATCH] clk: use the 'CLK_ALWAYS_ENABLED' flag for clk-fixed by default

Antony Pavlov antonynpavlov at gmail.com
Thu Dec 6 13:08:57 EST 2012


Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 drivers/clk/clk-fixed.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/clk/clk-fixed.c b/drivers/clk/clk-fixed.c
index fa89cb2..5e81e72 100644
--- a/drivers/clk/clk-fixed.c
+++ b/drivers/clk/clk-fixed.c
@@ -44,6 +44,7 @@ struct clk *clk_fixed(const char *name, int rate)
 	fix->rate = rate;
 	fix->clk.ops = &clk_fixed_ops;
 	fix->clk.name = name;
+	fix->clk.flags = CLK_ALWAYS_ENABLED;
 
 	ret = clk_register(&fix->clk);
 	if (ret) {
-- 
1.7.10.4




More information about the barebox mailing list