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

Mark Brown broonie at kernel.org
Wed Apr 16 16:25:02 CEST 2014

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140416/be3eaabb/attachment.sig>

More information about the Alsa-devel mailing list