mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
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: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Link: https://lkml.kernel.org/r/20190201125841.26785-2-jbrunet@baylibre.com
This commit is contained in:
parent
439a6bb5bf
commit
12aa377bf8
@ -394,16 +394,19 @@ bool clk_hw_is_prepared(const struct clk_hw *hw)
|
||||
{
|
||||
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)
|
||||
{
|
||||
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)
|
||||
{
|
||||
return clk_core_is_enabled(hw->core);
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(clk_hw_is_enabled);
|
||||
|
||||
bool __clk_is_enabled(struct clk *clk)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user