Messages in this thread | | | From | Pali Rohár <> | Subject | Re: [PATCH] OMAP3 ROM Random Number Generator support | Date | Thu, 28 Mar 2013 18:24:32 +0100 |
| |
On Thursday 28 March 2013 10:52:28 Russell King - ARM Linux wrote: > On Wed, Mar 27, 2013 at 02:09:18PM -0700, Tony Lindgren wrote: > > > + setup_timer(&idle_timer, omap3_rom_idle_rng, 0); > > > + rng_clk = clk_get_sys("omap_rng", "ick"); > > Why is this using clk_get_sys when it should be using > clk_get() with the platform device?
Funcion clk_get() needs struct device* instead clk device name. And I do not know how to get that pointer to device. With clk_get_sys driver working.
-- Pali Rohár pali.rohar@gmail.com [unhandled content-type:application/pgp-signature] | |