of: define of_find_node_by_phandle for !CONFIG_OF
authorSuman Anna <s-anna@ti.com>
Wed, 17 Jun 2015 16:53:53 +0000 (11:53 -0500)
committerRob Herring <robh@kernel.org>
Tue, 23 Jun 2015 15:18:30 +0000 (10:18 -0500)
commitce16b9d2356125eb791bd920c710b8512eecce54
treec45074112c7ed60ec208c190521a264059213747
parent294240ffe784e951dc2ef070da04fa31ef6db3a0
of: define of_find_node_by_phandle for !CONFIG_OF

Define stub implementation for of_find_node_by_phandle() API
so that users of this API can build properly even when CONFIG_OF
is not defined.

Fixes x86 randconfig build failure of remoteproc.

Signed-off-by: Suman Anna <s-anna@ti.com>
[robh: add details on fixing remoteproc compile]
Signed-off-by: Rob Herring <robh@kernel.org>
include/linux/of.h