On Wed, Apr 18, 2012 at 1:45 PM, Paul Walmsley <paul@xxxxxxxxx> wrote: > 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()". Sure. Thanks you. -- Tarun > > > - Paul -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html