提交 ce16b9d2 编写于 作者: S Suman Anna 提交者: Rob Herring

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: NSuman Anna <s-anna@ti.com>
[robh: add details on fixing remoteproc compile]
Signed-off-by: NRob Herring <robh@kernel.org>
上级 294240ff
......@@ -422,6 +422,11 @@ static inline struct device_node *of_find_node_opts_by_path(const char *path,
return NULL;
}
static inline struct device_node *of_find_node_by_phandle(phandle handle)
{
return NULL;
}
static inline struct device_node *of_get_parent(const struct device_node *node)
{
return NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册