[PATCH 2/3] CLK: uninline clk_prepare_enable() and clk_disable_unprepare()

Viresh Kumar viresh.kumar at linaro.org
Sun Dec 16 08:05:24 EST 2012


On 16 December 2012 18:10, Russell King - ARM Linux
<linux at arm.linux.org.uk> wrote:
> Well, there's my comment against patch 2 which never got a reply:
>
> "Again, what about stuff not using drivers/clk/clk.c ?"
>
> Has this been addressed?

Hmm.. I misread it and thought it is same as breaking other platforms
because there are
no dummy routines. But i was wrong :(

So, the problem is, platform not using common-clock framework uses
this routine, and they
don't want it to be dummy but call prepare & enable..

Because Dmirty requires this one to be non-inline, either he can move
these routines to
drivers/clk/clk-devres.c (which would be wrong) or can add wrappers
over them in clk-devres
file.

--
viresh



More information about the linux-arm-kernel mailing list