aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/of.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/of.h')
-rw-r--r--include/linux/of.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/of.h b/include/linux/of.h
index 4636bba93afa..e7facd8fbce8 100644
--- a/include/linux/of.h
+++ b/include/linux/of.h
@@ -79,6 +79,8 @@ set_node_proc_entry(struct device_node *dn, struct proc_dir_entry *de)
79 dn->pde = de; 79 dn->pde = de;
80} 80}
81 81
82extern struct device_node *of_find_all_nodes(struct device_node *prev);
83
82#if defined(CONFIG_SPARC) 84#if defined(CONFIG_SPARC)
83/* Dummy ref counting routines - to be implemented later */ 85/* Dummy ref counting routines - to be implemented later */
84static inline struct device_node *of_node_get(struct device_node *node) 86static inline struct device_node *of_node_get(struct device_node *node)
@@ -90,7 +92,6 @@ static inline void of_node_put(struct device_node *node)
90} 92}
91 93
92#else 94#else
93extern struct device_node *of_find_all_nodes(struct device_node *prev);
94extern struct device_node *of_node_get(struct device_node *node); 95extern struct device_node *of_node_get(struct device_node *node);
95extern void of_node_put(struct device_node *node); 96extern void of_node_put(struct device_node *node);
96#endif 97#endif