Re: [RFC 1/3] OMAP: clocks: Use clk names instead of clk pointers

Felipe Balbi
2011-01-19T15:19:33Z

On Wed, Jan 19, 2011 at 07:44:24PM +0530, Rajendra Nayak wrote:
> There are various instances of clk pointers being
> embedded within structures in the clock framework
> to refer to clk parents, reference clocks, bypass
> clocks etc.
> The right way to reference these is by their name
> and not by embedding direct pointers to these clks.
>
> Hence make provision to be able to provide clock
> names to refer to parents and bypass/ref clks and
> populate the clk pointers at runtime.
>
> This requires the const qualifier to be dropped for
> struct clksel within struct clk and hence needs
> clksel struct definitions to be changed in all
> clock*_data.c files.

$SUBJECT and this commit log is completely wrong as this patch is only
dropping the const from the clock structures.

--
balbi