From: Pankaj Dubey Date: Mon, 29 Sep 2014 07:47:47 +0000 (+0530) Subject: clk: samsung: remove unnecessary CONFIG_OF from clk.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7882857e98354866c6ae0b32dfb82c8e8e82cf28;p=linux-beck.git clk: samsung: remove unnecessary CONFIG_OF from clk.c Remove unnecessary CONFIG_OF from samsung/clk.c. Signed-off-by: Pankaj Dubey Signed-off-by: Sylwester Nawrocki --- 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, * obtain the clock speed of all external fixed clock sources from device * tree and register it */ -#ifdef CONFIG_OF void __init samsung_clk_of_register_fixed_ext(struct samsung_clk_provider *ctx, struct samsung_fixed_rate_clock *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, } samsung_clk_register_fixed_rate(ctx, fixed_rate_clk, nr_fixed_rate_clk); } -#endif /* utility function to get the rate of a specified clock */ unsigned long _get_rate(const char *clk_name)