diff options
Diffstat (limited to 'arch/sparc64/kernel/prom.c')
-rw-r--r-- | arch/sparc64/kernel/prom.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/sparc64/kernel/prom.c b/arch/sparc64/kernel/prom.c index a1ccc00c7958..2462731ac1a3 100644 --- a/arch/sparc64/kernel/prom.c +++ b/arch/sparc64/kernel/prom.c | |||
@@ -34,19 +34,6 @@ static struct device_node *allnodes; | |||
34 | 34 | ||
35 | extern rwlock_t devtree_lock; /* temporary while merging */ | 35 | extern rwlock_t devtree_lock; /* temporary while merging */ |
36 | 36 | ||
37 | struct device_node *of_get_parent(const struct device_node *node) | ||
38 | { | ||
39 | struct device_node *np; | ||
40 | |||
41 | if (!node) | ||
42 | return NULL; | ||
43 | |||
44 | np = node->parent; | ||
45 | |||
46 | return np; | ||
47 | } | ||
48 | EXPORT_SYMBOL(of_get_parent); | ||
49 | |||
50 | struct device_node *of_get_next_child(const struct device_node *node, | 37 | struct device_node *of_get_next_child(const struct device_node *node, |
51 | struct device_node *prev) | 38 | struct device_node *prev) |
52 | { | 39 | { |