dt: Add empty of_property_match_string() function
This commit adds an empty of_property_match_string() function for !CONFIG_OF builds. Acked-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
This commit is contained in:
parent
8138d2ddbc
commit
bd3d5500f0
@ -377,6 +377,13 @@ static inline int of_property_read_u64(const struct device_node *np,
|
|||||||
return -ENOSYS;
|
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,
|
static inline struct device_node *of_parse_phandle(struct device_node *np,
|
||||||
const char *phandle_name,
|
const char *phandle_name,
|
||||||
int index)
|
int index)
|
||||||
|
Loading…
Reference in New Issue
Block a user