Message ID | 20160826125811.26843-1-zajec5@gmail.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Stephen Boyd |
Headers | show |
On 08/26, Rafał Miłecki wrote: > From: Rafał Miłecki <rafal@milecki.pl> > > In the commit 929e7f3bc7b82 ("clk: Make of_clk_get_parent_count() return > unsigned ints") of_clk_get_parent_count has been modified to return > unsigned int. There is also a dummy implementation of the same function > for configs without CONFIG_OF. For the consistency it should be updated > as well. > > Signed-off-by: Rafał Miłecki <rafal@milecki.pl> > --- Applied to clk-next
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index f403b8a..37b8fdc 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -854,7 +854,7 @@ of_clk_hw_onecell_get(struct of_phandle_args *clkspec, void *data) { return ERR_PTR(-ENOENT); } -static inline int of_clk_get_parent_count(struct device_node *np) +static inline unsigned int of_clk_get_parent_count(struct device_node *np) { return 0; }