diff options
Diffstat (limited to 'include/clk.h')
-rw-r--r-- | include/clk.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/clk.h b/include/clk.h index f8f56d9cf01..2ebc905e04b 100644 --- a/include/clk.h +++ b/include/clk.h @@ -356,4 +356,13 @@ static inline bool clk_valid(struct clk *clk) * @return zero on success, or -ENOENT on error */ int clk_get_by_id(ulong id, struct clk **clkp); + +/** + * clk_dev_binded() - Check whether the clk has a device binded + * + * @clk A pointer to the clk + * + * @return true on binded, or false on no + */ +bool clk_dev_binded(struct clk *clk); #endif |