File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2593,7 +2593,7 @@ void clk_hw_reparent(struct clk_hw *hw, struct clk_hw *new_parent)
2593
2593
*
2594
2594
* Returns true if @parent is a possible parent for @clk, false otherwise.
2595
2595
*/
2596
- bool clk_has_parent (struct clk * clk , struct clk * parent )
2596
+ bool clk_has_parent (const struct clk * clk , const struct clk * parent )
2597
2597
{
2598
2598
/* NULL clocks should be nops, so return success if either is NULL. */
2599
2599
if (!clk || !parent )
Original file line number Diff line number Diff line change @@ -799,7 +799,7 @@ int clk_set_rate_exclusive(struct clk *clk, unsigned long rate);
799
799
*
800
800
* Returns true if @parent is a possible parent for @clk, false otherwise.
801
801
*/
802
- bool clk_has_parent (struct clk * clk , struct clk * parent );
802
+ bool clk_has_parent (const struct clk * clk , const struct clk * parent );
803
803
804
804
/**
805
805
* clk_set_rate_range - set a rate range for a clock source
You can’t perform that action at this time.
0 commit comments