aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sparc')
-rw-r--r--arch/sparc/kernel/prom.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/sparc/kernel/prom.c b/arch/sparc/kernel/prom.c
index 0f5aab4326b3..b37871578087 100644
--- a/arch/sparc/kernel/prom.c
+++ b/arch/sparc/kernel/prom.c
@@ -29,19 +29,6 @@ static struct device_node *allnodes;
29 29
30extern rwlock_t devtree_lock; /* temporary while merging */ 30extern rwlock_t devtree_lock; /* temporary while merging */
31 31
32struct device_node *of_get_parent(const struct device_node *node)
33{
34 struct device_node *np;
35
36 if (!node)
37 return NULL;
38
39 np = node->parent;
40
41 return np;
42}
43EXPORT_SYMBOL(of_get_parent);
44
45struct device_node *of_get_next_child(const struct device_node *node, 32struct device_node *of_get_next_child(const struct device_node *node,
46 struct device_node *prev) 33 struct device_node *prev)
47{ 34{