Skip to content

Commit f55ac06

Browse files
JuliaLawallbebarino
authored andcommitted
clk: don't export static symbol
The semantic patch that fixes this problem is as follows: (http://coccinelle.lip6.fr/) // <smpl> @r@ type T; identifier f; @@ static T f (...) { ... } @@ identifier r.f; declarer name EXPORT_SYMBOL_GPL; @@ -EXPORT_SYMBOL_GPL(f); // </smpl> Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Fixes: 035a61c "clk: Make clk API return per-user struct clk instances" Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
1 parent 9315514 commit f55ac06

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/clk/clk.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1350,7 +1350,6 @@ static unsigned long clk_core_get_rate(struct clk_core *clk)
13501350

13511351
return rate;
13521352
}
1353-
EXPORT_SYMBOL_GPL(clk_core_get_rate);
13541353

13551354
/**
13561355
* clk_get_rate - return the rate of clk

0 commit comments

Comments
 (0)