提交 7882857e 编写于 作者: P Pankaj Dubey 提交者: Sylwester Nawrocki

clk: samsung: remove unnecessary CONFIG_OF from clk.c

Remove unnecessary CONFIG_OF from samsung/clk.c.
Signed-off-by: NPankaj Dubey <pankaj.dubey@samsung.com>
Signed-off-by: NSylwester Nawrocki <s.nawrocki@samsung.com>
上级 2e41b9fc
...@@ -283,7 +283,6 @@ void __init samsung_clk_register_gate(struct samsung_clk_provider *ctx, ...@@ -283,7 +283,6 @@ void __init samsung_clk_register_gate(struct samsung_clk_provider *ctx,
* obtain the clock speed of all external fixed clock sources from device * obtain the clock speed of all external fixed clock sources from device
* tree and register it * tree and register it
*/ */
#ifdef CONFIG_OF
void __init samsung_clk_of_register_fixed_ext(struct samsung_clk_provider *ctx, void __init samsung_clk_of_register_fixed_ext(struct samsung_clk_provider *ctx,
struct samsung_fixed_rate_clock *fixed_rate_clk, struct samsung_fixed_rate_clock *fixed_rate_clk,
unsigned int nr_fixed_rate_clk, unsigned int nr_fixed_rate_clk,
...@@ -300,7 +299,6 @@ void __init samsung_clk_of_register_fixed_ext(struct samsung_clk_provider *ctx, ...@@ -300,7 +299,6 @@ void __init samsung_clk_of_register_fixed_ext(struct samsung_clk_provider *ctx,
} }
samsung_clk_register_fixed_rate(ctx, fixed_rate_clk, nr_fixed_rate_clk); samsung_clk_register_fixed_rate(ctx, fixed_rate_clk, nr_fixed_rate_clk);
} }
#endif
/* utility function to get the rate of a specified clock */ /* utility function to get the rate of a specified clock */
unsigned long _get_rate(const char *clk_name) unsigned long _get_rate(const char *clk_name)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册