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

dt: Add empty of_property_match_string() function

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