clk: remove exported function from __init section
authorDenis Efremov <yefremov.denis@gmail.com>
Sun, 6 Jan 2013 14:21:43 +0000 (18:21 +0400)
committerMike Turquette <mturquette@linaro.org>
Wed, 16 Jan 2013 00:16:26 +0000 (16:16 -0800)
The symbol of_fixed_clk_setup is exported and annotated __init.
This looks like section mismatch.
Fix this by removing the __init annotation of of_fixed_clk_setup.

Signed-off-by: Denis Efremov <yefremov.denis@gmail.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-fixed-rate.c

index af78ed6b67ef36ea32438096df6121218c94d44e..a53b53be3d65cc04efd5c0c545b89249ed14ddce 100644 (file)
@@ -85,7 +85,7 @@ struct clk *clk_register_fixed_rate(struct device *dev, const char *name,
 /**
  * of_fixed_clk_setup() - Setup function for simple fixed rate clock
  */
-void __init of_fixed_clk_setup(struct device_node *node)
+void of_fixed_clk_setup(struct device_node *node)
 {
        struct clk *clk;
        const char *clk_name = node->name;