Commit bd3d5500 authored by Thierry Reding's avatar 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: default avatarRob Herring <rob.herring@calxeda.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@avionic-design.de>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment