clk: Add clk_hw_is_enabled() for use by clk providers
[firefly-linux-kernel-4.4.55.git] / include / linux / clk-provider.h
index ff7284fb37b212199d198cf9217ae3fd8b5dba60..c56988ac63f7801d5a93b004b80c20f7089bf2e3 100644 (file)
@@ -654,6 +654,7 @@ unsigned long clk_hw_get_rate(const struct clk_hw *hw);
 unsigned long __clk_get_flags(struct clk *clk);
 unsigned long clk_hw_get_flags(const struct clk_hw *hw);
 bool clk_hw_is_prepared(const struct clk_hw *hw);
+bool clk_hw_is_enabled(const struct clk_hw *hw);
 bool __clk_is_enabled(struct clk *clk);
 struct clk *__clk_lookup(const char *name);
 int __clk_mux_determine_rate(struct clk_hw *hw,