aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/prom.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc64/kernel/prom.c')
-rw-r--r--arch/sparc64/kernel/prom.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/sparc64/kernel/prom.c b/arch/sparc64/kernel/prom.c
index 2462731ac1a3..ee96ef61bc99 100644
--- a/arch/sparc64/kernel/prom.c
+++ b/arch/sparc64/kernel/prom.c
@@ -34,20 +34,6 @@ static struct device_node *allnodes;
34 34
35extern rwlock_t devtree_lock; /* temporary while merging */ 35extern rwlock_t devtree_lock; /* temporary while merging */
36 36
37struct device_node *of_get_next_child(const struct device_node *node,
38 struct device_node *prev)
39{
40 struct device_node *next;
41
42 next = prev ? prev->sibling : node->child;
43 for (; next != 0; next = next->sibling) {
44 break;
45 }
46
47 return next;
48}
49EXPORT_SYMBOL(of_get_next_child);
50
51struct device_node *of_find_node_by_path(const char *path) 37struct device_node *of_find_node_by_path(const char *path)
52{ 38{
53 struct device_node *np = allnodes; 39 struct device_node *np = allnodes;