Commit 12aa377b authored by Jerome Brunet's avatar Jerome Brunet Committed by Neil Armstrong

clk: export some clk_hw function symbols for module drivers

clk-provider.h provides clk_hw_is_prepared(), clk_hw_is_enabled() and
clk_hw_is_prepared() but these symbols are not exported for the
modules which prevents a clock driver using them to be compiled as
a module. Export them to fix the problem.
Acked-by: default avatarStephen Boyd <sboyd@kernel.org>
Signed-off-by: default avatarJerome Brunet <jbrunet@baylibre.com>
Signed-off-by: default avatarNeil Armstrong <narmstrong@baylibre.com>
Link: https://lkml.kernel.org/r/20190201125841.26785-2-jbrunet@baylibre.com
parent 439a6bb5
...@@ -394,16 +394,19 @@ bool clk_hw_is_prepared(const struct clk_hw *hw) ...@@ -394,16 +394,19 @@ bool clk_hw_is_prepared(const struct clk_hw *hw)
{ {
return clk_core_is_prepared(hw->core); return clk_core_is_prepared(hw->core);
} }
EXPORT_SYMBOL_GPL(clk_hw_is_prepared);
bool clk_hw_rate_is_protected(const struct clk_hw *hw) bool clk_hw_rate_is_protected(const struct clk_hw *hw)
{ {
return clk_core_rate_is_protected(hw->core); return clk_core_rate_is_protected(hw->core);
} }
EXPORT_SYMBOL_GPL(clk_hw_rate_is_protected);
bool clk_hw_is_enabled(const struct clk_hw *hw) bool clk_hw_is_enabled(const struct clk_hw *hw)
{ {
return clk_core_is_enabled(hw->core); return clk_core_is_enabled(hw->core);
} }
EXPORT_SYMBOL_GPL(clk_hw_is_enabled);
bool __clk_is_enabled(struct clk *clk) bool __clk_is_enabled(struct clk *clk)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment