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

Rob Herring robherring2 at gmail.com
Wed Apr 16 14:26:13 CEST 2014


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.

Rob


More information about the Alsa-devel mailing list