aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPankaj Dubey <pankaj.dubey@samsung.com>2014-09-29 03:47:47 -0400
committerSylwester Nawrocki <s.nawrocki@samsung.com>2014-12-02 06:28:24 -0500
commit7882857e98354866c6ae0b32dfb82c8e8e82cf28 (patch)
treef2dc93a0474325d4a38051bb892b7b7293a0a469
parent2e41b9fc11f2d242f39b36ceba833471629ba3d5 (diff)
clk: samsung: remove unnecessary CONFIG_OF from clk.c
Remove unnecessary CONFIG_OF from samsung/clk.c. Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
-rw-r--r--drivers/clk/samsung/clk.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/clk/samsung/clk.c b/drivers/clk/samsung/clk.c
index dd1f7c977b6b..1b4cf3b87b73 100644
--- a/drivers/clk/samsung/clk.c
+++ b/drivers/clk/samsung/clk.c
@@ -283,7 +283,6 @@ void __init samsung_clk_register_gate(struct samsung_clk_provider *ctx,
283 * obtain the clock speed of all external fixed clock sources from device 283 * obtain the clock speed of all external fixed clock sources from device
284 * tree and register it 284 * tree and register it
285 */ 285 */
286#ifdef CONFIG_OF
287void __init samsung_clk_of_register_fixed_ext(struct samsung_clk_provider *ctx, 286void __init samsung_clk_of_register_fixed_ext(struct samsung_clk_provider *ctx,
288 struct samsung_fixed_rate_clock *fixed_rate_clk, 287 struct samsung_fixed_rate_clock *fixed_rate_clk,
289 unsigned int nr_fixed_rate_clk, 288 unsigned int nr_fixed_rate_clk,
@@ -300,7 +299,6 @@ void __init samsung_clk_of_register_fixed_ext(struct samsung_clk_provider *ctx,
300 } 299 }
301 samsung_clk_register_fixed_rate(ctx, fixed_rate_clk, nr_fixed_rate_clk); 300 samsung_clk_register_fixed_rate(ctx, fixed_rate_clk, nr_fixed_rate_clk);
302} 301}
303#endif
304 302
305/* utility function to get the rate of a specified clock */ 303/* utility function to get the rate of a specified clock */
306unsigned long _get_rate(const char *clk_name) 304unsigned long _get_rate(const char *clk_name)