diff options
author | Alexander Shiyan <shc_work@mail.ru> | 2014-04-16 10:49:20 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-16 21:43:40 +0100 |
commit | a76e48b48bd9dbf0847c2d4294f502e0c4b98dde (patch) | |
tree | aed0180ed152c5d57a326a795d53d1cc9ccd923b /sound/soc/codecs/wm8996.c | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 (diff) |
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 <sfr@canb.auug.org.au>
Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/wm8996.c')
0 files changed, 0 insertions, 0 deletions