diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2015-05-01 12:14:24 -0700 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-05-14 17:11:16 -0700 |
commit | 2bb5d1b88bb5c8dc929d3a24d5ad327c0281fdbf (patch) | |
tree | 78d792bff3143df4af87522b24a38d235efa63ae | |
parent | d122db7e86669244759226bfdd2b9d623d5c6ae8 (diff) | |
download | linux-2bb5d1b88bb5c8dc929d3a24d5ad327c0281fdbf.tar.gz linux-2bb5d1b88bb5c8dc929d3a24d5ad327c0281fdbf.tar.bz2 linux-2bb5d1b88bb5c8dc929d3a24d5ad327c0281fdbf.zip |
clk: gpio-gate: Don't export __init functions
This function is marked as __init, so exposing it to modules
doesn't make any sense and it isn't used by modules anyway.
drivers/clk/clk-gpio-gate.c:192:13: warning: symbol 'of_gpio_gate_clk_setup' was not declared. Should it be static?
Cc: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
-rw-r--r-- | drivers/clk/clk-gpio-gate.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/clk-gpio-gate.c b/drivers/clk/clk-gpio-gate.c index a71cabedda93..f564e624fb93 100644 --- a/drivers/clk/clk-gpio-gate.c +++ b/drivers/clk/clk-gpio-gate.c @@ -189,7 +189,7 @@ static struct clk *of_clk_gpio_gate_delayed_register_get( /** * of_gpio_gate_clk_setup() - Setup function for gpio controlled clock */ -void __init of_gpio_gate_clk_setup(struct device_node *node) +static void __init of_gpio_gate_clk_setup(struct device_node *node) { struct clk_gpio_gate_delayed_register_data *data; @@ -203,6 +203,5 @@ void __init of_gpio_gate_clk_setup(struct device_node *node) of_clk_add_provider(node, of_clk_gpio_gate_delayed_register_get, data); } -EXPORT_SYMBOL_GPL(of_gpio_gate_clk_setup); CLK_OF_DECLARE(gpio_gate_clk, "gpio-gate-clock", of_gpio_gate_clk_setup); #endif |