diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2020-11-25 06:30:30 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2020-11-25 06:30:54 +0100 |
commit | 9aa53beb03fd811054b7d14d729a7145f1eeb2cb (patch) | |
tree | 3b86c7b7c3e98b63a3bfbe71e28852c766837c41 /include/of.h | |
parent | ac0847b8400171e75022de257381c897fc0ba5fb (diff) | |
download | barebox-9aa53beb03fd811054b7d14d729a7145f1eeb2cb.tar.gz |
of: Add no-op wrappers for of reproducible name functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/of.h')
-rw-r--r-- | include/of.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/of.h b/include/of.h index 08a02e1105..dd93e44aac 100644 --- a/include/of.h +++ b/include/of.h @@ -403,6 +403,17 @@ static inline struct device_node *of_get_child_by_name( return NULL; } +static inline char *of_get_reproducible_name(struct device_node *node) +{ + return NULL; +} + +static inline struct device_node * +of_find_node_by_reproducible_name(struct device_node *from, const char *name) +{ + return NULL; +} + static inline struct property *of_find_property(const struct device_node *np, const char *name, int *lenp) |