提交 e05e5070 编写于 作者: T Thierry Reding

dt: Add empty of_parse_phandle_with_args() function

This commit adds an empty of_parse_phandle_with_args() function for
!CONFIG_OF builds.
Acked-by: NRob Herring <rob.herring@calxeda.com>
Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
上级 bd3d5500
...@@ -391,6 +391,15 @@ static inline struct device_node *of_parse_phandle(struct device_node *np, ...@@ -391,6 +391,15 @@ static inline struct device_node *of_parse_phandle(struct device_node *np,
return NULL; return NULL;
} }
static inline int of_parse_phandle_with_args(struct device_node *np,
const char *list_name,
const char *cells_name,
int index,
struct of_phandle_args *out_args)
{
return -ENOSYS;
}
static inline int of_alias_get_id(struct device_node *np, const char *stem) static inline int of_alias_get_id(struct device_node *np, const char *stem)
{ {
return -ENOSYS; return -ENOSYS;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册