summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-11-25 06:30:30 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2020-11-25 06:30:54 +0100
commit9aa53beb03fd811054b7d14d729a7145f1eeb2cb (patch)
tree3b86c7b7c3e98b63a3bfbe71e28852c766837c41
parentac0847b8400171e75022de257381c897fc0ba5fb (diff)
downloadbarebox-9aa53beb03fd811054b7d14d729a7145f1eeb2cb.tar.gz
barebox-9aa53beb03fd811054b7d14d729a7145f1eeb2cb.tar.xz
of: Add no-op wrappers for of reproducible name functions
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--include/of.h11
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)