From: Alexander Shiyan Date: Wed, 16 Apr 2014 06:49:20 +0000 (+0400) Subject: of: add empty of_find_node_by_path() for !OF X-Git-Tag: omap-for-v3.16/pm-signed~89^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20cd477c398decd6a8461ac48609b6c0ab4c7567;p=pandora-kernel.git of: add empty of_find_node_by_path() for !OF 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 Signed-off-by: Alexander Shiyan Signed-off-by: Rob Herring --- Reading git-diff-tree failed