[PATCH v2 06/14] dt: Add empty of_find_node_by_name() function

2012-08-14 Thread Peter Ujfalusi
This commit adds an empty of_find_node_by_name() function for !CONFIG_OF
builds.

Signed-off-by: Peter Ujfalusi 
---
 include/linux/of.h |6 ++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/linux/of.h b/include/linux/of.h
index 5919ee3..c90e59a 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -308,6 +308,12 @@ static inline const char* of_node_full_name(struct 
device_node *np)
return "";
 }
 
+static inline device_node *of_find_node_by_name(struct device_node *from,
+   const char *name)
+{
+   return NULL;
+}
+
 static inline bool of_have_populated_dt(void)
 {
return false;
-- 
1.7.8.6

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH v2 06/14] dt: Add empty of_find_node_by_name() function

2012-08-14 Thread Peter Ujfalusi
This commit adds an empty of_find_node_by_name() function for !CONFIG_OF
builds.

Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com
---
 include/linux/of.h |6 ++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/linux/of.h b/include/linux/of.h
index 5919ee3..c90e59a 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -308,6 +308,12 @@ static inline const char* of_node_full_name(struct 
device_node *np)
return no-node;
 }
 
+static inline device_node *of_find_node_by_name(struct device_node *from,
+   const char *name)
+{
+   return NULL;
+}
+
 static inline bool of_have_populated_dt(void)
 {
return false;
-- 
1.7.8.6

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/