Hi Tarun

On Wed, 18 Apr 2012, DebBarma, Tarun Kanti wrote:

> That' right, I confirmed that clk_get(NULL, "fck") does not work.

Yes, you and BenoƮt are right, I should have looked more closely at what 
was being patched.

> For this to work we need the dev pointer in place of NULL.
> What is your alternate suggestion? Thanks.

Rather than accessing the struct omap_hwmod field directly, 
please, in a separate patch against omap_hwmod.c, create a function to 
return the main clock.  Something like "omap_hwmod_get_main_clk()".


- Paul

Reply via email to