diff options
Diffstat (limited to 'include/linux/of.h')
-rw-r--r-- | include/linux/of.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/of.h b/include/linux/of.h index f01ba8a209c0..4386c5fee57c 100644 --- a/include/linux/of.h +++ b/include/linux/of.h | |||
@@ -321,6 +321,11 @@ static inline struct device_node *of_parse_phandle(struct device_node *np, | |||
321 | return NULL; | 321 | return NULL; |
322 | } | 322 | } |
323 | 323 | ||
324 | static inline int of_alias_get_id(struct device_node *np, const char *stem) | ||
325 | { | ||
326 | return -ENOSYS; | ||
327 | } | ||
328 | |||
324 | #define of_match_ptr(_ptr) NULL | 329 | #define of_match_ptr(_ptr) NULL |
325 | #define of_match_node(_matches, _node) NULL | 330 | #define of_match_node(_matches, _node) NULL |
326 | #endif /* CONFIG_OF */ | 331 | #endif /* CONFIG_OF */ |