[PATCH] clk: uclass: clk_get_by_name() must not be available if CONFIG_OF_PLATDATA is enabled

Lukasz Majewski lukma at denx.de
Fri Dec 13 11:09:09 CET 2019


On Fri, 13 Dec 2019 00:02:25 +0100
Giulio Benetti <giulio.benetti at benettiengineering.com> wrote:

> Hi Lukasz,
> 
> On 12/12/19 11:53 PM, Giulio Benetti wrote:
> > clk_get_by_name() requires clk_get_by_id() that is not available if
> > CONFIG_OF_PLATDATA is defined, so move clk_get_by_name() into #else
> > condition of #if CONFIG_IS_ENABLED(OF_PLATDATA).
> > 
> > Signed-off-by: Giulio Benetti
> > <giulio.benetti at benettiengineering.com>  
> 
> I've already successfully executed a complete Travis with master and 
> this patch applied:
> https://travis-ci.org/giuliobenetti/u-boot-imxrt/builds/624256888

Is this a preparatory patch for some other work? Or is it just a
standalone fix?

> 
> Kind regards




Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20191213/af35b52e/attachment.sig>


More information about the U-Boot mailing list