Commit e658cbfd authored by Thierry Reding's avatar Thierry Reding Committed by Ben Hutchings

dt: Add empty of_property_match_string() function

commit bd3d5500 upstream.

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>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
Cc: Jonathan Toppins <jtoppins@cumulusnetworks.com>
parent 64e195f6
......@@ -318,6 +318,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