Skip to content

Commit

Permalink
clk: remove unnecessary EXPORT_SYMBOL_GPL
Browse files Browse the repository at this point in the history
It makes no sense to have EXPORT_SYMBOL_GPL on static functions.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
  • Loading branch information
Shawn Guo authored and Mike Turquette committed Apr 24, 2012
1 parent 10363b5 commit c0d2530
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions drivers/clk/clk-divider.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ static unsigned long clk_divider_recalc_rate(struct clk_hw *hw,

return parent_rate / div;
}
EXPORT_SYMBOL_GPL(clk_divider_recalc_rate);

/*
* The reverse of DIV_ROUND_UP: The maximum number which
Expand Down Expand Up @@ -117,7 +116,6 @@ static long clk_divider_round_rate(struct clk_hw *hw, unsigned long rate,
return r / div;
}
}
EXPORT_SYMBOL_GPL(clk_divider_round_rate);

static int clk_divider_set_rate(struct clk_hw *hw, unsigned long rate)
{
Expand Down Expand Up @@ -147,7 +145,6 @@ static int clk_divider_set_rate(struct clk_hw *hw, unsigned long rate)

return 0;
}
EXPORT_SYMBOL_GPL(clk_divider_set_rate);

struct clk_ops clk_divider_ops = {
.recalc_rate = clk_divider_recalc_rate,
Expand Down
1 change: 0 additions & 1 deletion drivers/clk/clk-fixed-rate.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ static unsigned long clk_fixed_rate_recalc_rate(struct clk_hw *hw,
{
return to_clk_fixed_rate(hw)->fixed_rate;
}
EXPORT_SYMBOL_GPL(clk_fixed_rate_recalc_rate);

struct clk_ops clk_fixed_rate_ops = {
.recalc_rate = clk_fixed_rate_recalc_rate,
Expand Down
3 changes: 0 additions & 3 deletions drivers/clk/clk-gate.c
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ static int clk_gate_enable(struct clk_hw *hw)

return 0;
}
EXPORT_SYMBOL_GPL(clk_gate_enable);

static void clk_gate_disable(struct clk_hw *hw)
{
Expand All @@ -82,7 +81,6 @@ static void clk_gate_disable(struct clk_hw *hw)
else
clk_gate_clear_bit(gate);
}
EXPORT_SYMBOL_GPL(clk_gate_disable);

static int clk_gate_is_enabled(struct clk_hw *hw)
{
Expand All @@ -99,7 +97,6 @@ static int clk_gate_is_enabled(struct clk_hw *hw)

return reg ? 1 : 0;
}
EXPORT_SYMBOL_GPL(clk_gate_is_enabled);

struct clk_ops clk_gate_ops = {
.enable = clk_gate_enable,
Expand Down
2 changes: 0 additions & 2 deletions drivers/clk/clk-mux.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ static u8 clk_mux_get_parent(struct clk_hw *hw)

return val;
}
EXPORT_SYMBOL_GPL(clk_mux_get_parent);

static int clk_mux_set_parent(struct clk_hw *hw, u8 index)
{
Expand All @@ -82,7 +81,6 @@ static int clk_mux_set_parent(struct clk_hw *hw, u8 index)

return 0;
}
EXPORT_SYMBOL_GPL(clk_mux_set_parent);

struct clk_ops clk_mux_ops = {
.get_parent = clk_mux_get_parent,
Expand Down

0 comments on commit c0d2530

Please sign in to comment.