[U-Boot] [PATCH v6 01/12] clk: Use dummy clk_get_by_* functions when CONFIG_CLK is disabled

Simon Glass sjg at chromium.org
Mon Aug 8 23:44:33 CEST 2016


On 5 August 2016 at 02:30, Paul Burton <paul.burton at imgtec.com> wrote:
>
>
> On 05/08/16 02:36, Simon Glass wrote:
>>
>> Hi Paul,
>>
>> On 4 August 2016 at 04:29, Paul Burton <paul.burton at imgtec.com> wrote:
>>>
>>> The implementations of clk_get_by_index & clk_get_by_name are only
>>> available when CONFIG_CLK is enabled. Provide the dummies when this is
>>> not the case in order to avoid build failures.
>>
>>
>> Where are the dummies?
>
>
> Hi Simon,
>
> I mean the static inline versions which just return -ENOSYS, which already
> exist in clk.h but weren't provided before unless CONFIG_OF_CONTROL wasn't
> set.
>
> Thanks,
>     Paul

Reviewed-by: Simon Glass <sjg at chromium.org>

[...]


More information about the U-Boot mailing list