diff options
Diffstat (limited to 'include/of.h')
-rw-r--r-- | include/of.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/of.h b/include/of.h index 4dcf37e140..ac4370aa3c 100644 --- a/include/of.h +++ b/include/of.h @@ -176,6 +176,7 @@ struct cdev; int of_parse_partitions(struct cdev *cdev, struct device_node *node); int of_alias_get_id(struct device_node *np, const char *stem); +const char *of_alias_get(struct device_node *np); int of_device_is_stdout_path(struct device_d *dev); const char *of_get_model(void); void *of_flatten_dtb(struct device_node *node); @@ -192,6 +193,11 @@ static inline int of_alias_get_id(struct device_node *np, const char *stem) return -ENOENT; } +static inline const char *of_alias_get(struct device_node *np) +{ + return NULL; +} + static inline int of_device_is_stdout_path(struct device_d *dev) { return 0; |