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:
parent
cd73076c65
commit
10ac493e96
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue