[alsa-devel] [PATCH] of: add empty of_find_node_by_path() for !OF

Rob Herring robherring2 at gmail.com
Wed Apr 16 16:32:37 CEST 2014


On Wed, Apr 16, 2014 at 9:25 AM, Mark Brown <broonie at kernel.org> wrote:
> On Wed, Apr 16, 2014 at 07:26:13AM -0500, Rob Herring wrote:
>> On Wed, Apr 16, 2014 at 1:49 AM, Alexander Shiyan <shc_work at mail.ru> wrote:
>
>> > Add an empty version of of_find_node_by_path().
>> > This fixes following build error for asoc tree:
>> > sound/soc/fsl/fsl_ssi.c: In function 'fsl_ssi_probe':
>> > sound/soc/fsl/fsl_ssi.c:1471:2: error: implicit declaration of function 'of_find_node_by_path' [-Werror=implicit-function-declaration]
>> >   sprop = of_get_property(of_find_node_by_path("/"), "compatible", NULL);
>
>> > Reported-by: Stephen Rothwell <sfr at canb.auug.org.au>
>> > Signed-off-by: Alexander Shiyan <shc_work at mail.ru>
>
>> Applied.
>
> Is there a branch I can pull into ASoC, or can I apply it there?  This
> fixes a build failure introduced into there by some recent work.

I haven't pushed it out yet. You can take it and add my ack if you
want instead. Otherwise, I do plan to send fixes to Linus this week.

Rob


More information about the Alsa-devel mailing list