diff options
Diffstat (limited to 'include/linux/clk-provider.h')
| -rw-r--r-- | include/linux/clk-provider.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index e443fa9fa859..b7cf80a71293 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h | |||
| @@ -792,6 +792,9 @@ unsigned int __clk_get_enable_count(struct clk *clk); | |||
| 792 | unsigned long clk_hw_get_rate(const struct clk_hw *hw); | 792 | unsigned long clk_hw_get_rate(const struct clk_hw *hw); |
| 793 | unsigned long __clk_get_flags(struct clk *clk); | 793 | unsigned long __clk_get_flags(struct clk *clk); |
| 794 | unsigned long clk_hw_get_flags(const struct clk_hw *hw); | 794 | unsigned long clk_hw_get_flags(const struct clk_hw *hw); |
| 795 | #define clk_hw_can_set_rate_parent(hw) \ | ||
| 796 | (clk_hw_get_flags((hw)) & CLK_SET_RATE_PARENT) | ||
| 797 | |||
| 795 | bool clk_hw_is_prepared(const struct clk_hw *hw); | 798 | bool clk_hw_is_prepared(const struct clk_hw *hw); |
| 796 | bool clk_hw_rate_is_protected(const struct clk_hw *hw); | 799 | bool clk_hw_rate_is_protected(const struct clk_hw *hw); |
| 797 | bool clk_hw_is_enabled(const struct clk_hw *hw); | 800 | bool clk_hw_is_enabled(const struct clk_hw *hw); |
