Re: [PATCH] clk: Make clk input parameter of __clk_get_name() const

2015-10-16 Thread Stephen Boyd
On 10/16, Geert Uytterhoeven wrote: > When calling __clk_get_name() on a const clock: > > warning: passing argument 1 of '__clk_get_name' discards 'const' > qualifier from pointer target type > include/linux/clk-provider.h:613:13: note: expected 'struct clk *' but > argument is of type '

[PATCH] clk: Make clk input parameter of __clk_get_name() const

2015-10-16 Thread Geert Uytterhoeven
When calling __clk_get_name() on a const clock: warning: passing argument 1 of '__clk_get_name' discards 'const' qualifier from pointer target type include/linux/clk-provider.h:613:13: note: expected 'struct clk *' but argument is of type 'const struct clk *' __clk_get_name() does not m