Re: [PATCH 2/2] drivers: clk: clk.c: Make clk_is_orphan() dependent of CONFIG_OF

From: Murilo Opsfelder AraÃjo
Date: Wed May 06 2015 - 21:00:24 EST


On Wed, May 6, 2015 at 9:55 PM, Stephen Boyd <sboyd@xxxxxxxxxxxxxx> wrote:
> On 05/06/15 17:51, Murilo Opsfelder Araujo wrote:
>> The function clk_is_orphan() is called only by
>> __of_clk_get_from_provider(), which depends on CONFIG_OF, so it does
>> make sense the move.
>>
>> This change also gets rid of the following build message when CONFIG_OF
>> is not set:
>>
>> drivers/clk/clk.c:2231:13: warning: âclk_is_orphanâ defined but not used [-Wunused-function]
>>
>> Signed-off-by: Murilo Opsfelder Araujo <mopsfelder@xxxxxxxxx>
>
> The patch that introduces this problem is gone now.
>

Nice to know it is gone. I'm using next-20150506 which still contains
that. Probably the fix will land a next -next release.

Thanks, Stephen.

--
Murilo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/