diff options
Diffstat (limited to 'include/linux/of.h')
-rw-r--r-- | include/linux/of.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/linux/of.h b/include/linux/of.h index 0e9cf9eec085..42c2a58328c1 100644 --- a/include/linux/of.h +++ b/include/linux/of.h | |||
@@ -386,6 +386,13 @@ static inline int of_property_read_u64(const struct device_node *np, | |||
386 | return -ENOSYS; | 386 | return -ENOSYS; |
387 | } | 387 | } |
388 | 388 | ||
389 | static inline int of_property_match_string(struct device_node *np, | ||
390 | const char *propname, | ||
391 | const char *string) | ||
392 | { | ||
393 | return -ENOSYS; | ||
394 | } | ||
395 | |||
389 | static inline struct device_node *of_parse_phandle(struct device_node *np, | 396 | static inline struct device_node *of_parse_phandle(struct device_node *np, |
390 | const char *phandle_name, | 397 | const char *phandle_name, |
391 | int index) | 398 | int index) |
@@ -393,6 +400,15 @@ static inline struct device_node *of_parse_phandle(struct device_node *np, | |||
393 | return NULL; | 400 | return NULL; |
394 | } | 401 | } |
395 | 402 | ||
403 | static inline int of_parse_phandle_with_args(struct device_node *np, | ||
404 | const char *list_name, | ||
405 | const char *cells_name, | ||
406 | int index, | ||
407 | struct of_phandle_args *out_args) | ||
408 | { | ||
409 | return -ENOSYS; | ||
410 | } | ||
411 | |||
396 | static inline int of_alias_get_id(struct device_node *np, const char *stem) | 412 | static inline int of_alias_get_id(struct device_node *np, const char *stem) |
397 | { | 413 | { |
398 | return -ENOSYS; | 414 | return -ENOSYS; |