9
0
Fork 0

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

Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Antony Pavlov 2012-12-06 22:08:57 +04:00 committed by Sascha Hauer
parent cd73076c65
commit 10ac493e96
1 changed files with 1 additions and 0 deletions

View File

@ -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) {