clk: Move symbol export to proper location
PATCH 1/1 clk: Move symbol export to proper location
The __clk_get_flags() symbol is exported immediately following the clk_unprepare_unused_subtree() function. This is unusual, since a symbol export typically follows body of the function that it exports.
Signed-off-by Thierry Reding <[email protected]>
--- drivers/clk/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/clk.c +1 -1
@@ -458,7 +458,6 @@ static void clk_unprepare_unused_subtree(struct clk *clk) clk->ops->unprepare (clk->hw); } } -EXPORT_SYMBOL_GPL (__clk_get_flags);/* caller must hold prepare_lock */ static void clk_disable_unused_subtree (struct clk *clk)
@@ -607,6 +606,7 @@ unsigned long __clk_get_flags(struct clk *clk) {return !clk ?0 : clk->flags; } +EXPORT_SYMBOL_GPL (__clk_get_flags);bool __clk_is_prepared (struct clk *clk) {
Signature · 1 line
1.8.4
PATCH 1/1 clk: Move symbol export to proper location
Quoting Thierry Reding (2013-09-03 00:43:51)
Quoted 5 lines
The
__clk_get_flags()symbol is exported immediately following theclk_unprepare_unused_subtree()function. This is unusual, since a symbol export typically follows body of the function that it exports.Signed-off-by Thierry Reding <[email protected]>
Thanks for the cleanup. Applied.
Regards,
Mike
Quoted 26 lines
--- drivers/clk/clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/clk/clk.c +1
-1@@ -458,7 +458,6 @@ static void clk_unprepare_unused_subtree(struct clk *clk) clk->ops->unprepare (clk->hw); } } -EXPORT_SYMBOL_GPL (__clk_get_flags);/* caller must hold prepare_lock */ static void clk_disable_unused_subtree (struct clk *clk)@@ -607,6 +606,7 @@ unsigned long __clk_get_flags(struct clk *clk) {return !clk ?0 : clk->flags; } +EXPORT_SYMBOL_GPL (__clk_get_flags);bool __clk_is_prepared (struct clk *clk) {Signature · 1 line
1.8.4