clk: Export more clk-provider functions
Subsystems (2)
PATCH 1/1 clk: Export more clk-provider functions
Allow drivers to be compiled as modules by exporting more clock provider functions.
Reported-by kbuild test robot <[email protected]>
Signed-off-by Stephen Boyd <[email protected]>
--- drivers/clk/clk.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/clk/clk.c +7 -0
@@ -547,16 +547,19 @@ struct clk_hw *__clk_get_hw(struct clk *clk) {return !clk ?NULL : clk->hw; } +EXPORT_SYMBOL_GPL (__clk_get_hw);u8 __clk_get_num_parents (struct clk *clk) {return !clk ?0 : clk->num_parents; } +EXPORT_SYMBOL_GPL (__clk_get_num_parents);struct clk *__clk_get_parent (struct clk *clk) {return !clk ?NULL : clk->parent; } +EXPORT_SYMBOL_GPL (__clk_get_parent);struct clk *clk_get_parent_by_index (struct clk *clk,u8 index) {
@@ -570,6 +573,7 @@ struct clk *clk_get_parent_by_index(struct clk *clk, u8 index)else return clk->parents[index]; } +EXPORT_SYMBOL_GPL (clk_get_parent_by_index);unsigned int __clk_get_enable_count (struct clk *clk) {
@@ -601,6 +605,7 @@ unsigned long __clk_get_rate(struct clk *clk) out:return ret; } +EXPORT_SYMBOL_GPL (__clk_get_rate);unsigned long __clk_get_flags (struct clk *clk) {
@@ -649,6 +654,7 @@ bool __clk_is_enabled(struct clk *clk) out:return !!ret; } +EXPORT_SYMBOL_GPL (__clk_is_enabled);static struct clk *__clk_lookup_subtree (const char *name,struct clk *clk) {
@@ -740,6 +746,7 @@ out:return best; } +EXPORT_SYMBOL_GPL (__clk_mux_determine_rate);/*** clk api ***/
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation
PATCH 1/1 clk: Export more clk-provider functions
Quoting Stephen Boyd (2014-01-17 19:47:17)
Quoted 5 lines
Allow drivers to be compiled as modules by exporting more clock provider functions.
Reported-by kbuild test robot <[email protected]>Signed-off-by Stephen Boyd <[email protected]>
I've taken this into part 2 of my pull request for 3.14.
Regards,
Mike
Quoted 64 lines
--- drivers/clk/clk.c | 7 +++++++ 1 file changed, 7 insertions(+)drivers/clk/clk.c +7
-0@@ -547,16 +547,19 @@ struct clk_hw *__clk_get_hw(struct clk *clk) {return !clk ?NULL : clk->hw; } +EXPORT_SYMBOL_GPL (__clk_get_hw);u8 __clk_get_num_parents (struct clk *clk) {return !clk ?0 : clk->num_parents; } +EXPORT_SYMBOL_GPL (__clk_get_num_parents);struct clk *__clk_get_parent (struct clk *clk) {return !clk ?NULL : clk->parent; } +EXPORT_SYMBOL_GPL (__clk_get_parent);struct clk *clk_get_parent_by_index (struct clk *clk,u8 index) {@@ -570,6 +573,7 @@ struct clk *clk_get_parent_by_index(struct clk *clk, u8 index)else return clk->parents[index]; } +EXPORT_SYMBOL_GPL (clk_get_parent_by_index);unsigned int __clk_get_enable_count (struct clk *clk) {@@ -601,6 +605,7 @@ unsigned long __clk_get_rate(struct clk *clk) out:return ret; } +EXPORT_SYMBOL_GPL (__clk_get_rate);unsigned long __clk_get_flags (struct clk *clk) {@@ -649,6 +654,7 @@ bool __clk_is_enabled(struct clk *clk) out:return !!ret; } +EXPORT_SYMBOL_GPL (__clk_is_enabled);static struct clk *__clk_lookup_subtree (const char *name,struct clk *clk) {@@ -740,6 +746,7 @@ out:return best; } +EXPORT_SYMBOL_GPL (__clk_mux_determine_rate);/*** clk api ***/ Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation