aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/prom_32.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-12-04 23:12:20 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-05 19:44:29 -0500
commit657f201df693c26d294f6c789b8a87cd8c16eb53 (patch)
tree15af6320017965d395a916170aec2d9dfee9503a /arch/sparc/kernel/prom_32.c
parentb28017f57f1ec16ab515e99d863bf9f33ea0d737 (diff)
sparc: Create common header file for prom_{32,64}.c
This is where common declarations will go as we unify these files as much as possible into common code. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/prom_32.c')
-rw-r--r--arch/sparc/kernel/prom_32.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/sparc/kernel/prom_32.c b/arch/sparc/kernel/prom_32.c
index eee5efcfe50e..715455ba3689 100644
--- a/arch/sparc/kernel/prom_32.c
+++ b/arch/sparc/kernel/prom_32.c
@@ -25,9 +25,7 @@
25#include <asm/prom.h> 25#include <asm/prom.h>
26#include <asm/oplib.h> 26#include <asm/oplib.h>
27 27
28extern struct device_node *allnodes; /* temporary while merging */ 28#include "prom.h"
29
30extern rwlock_t devtree_lock; /* temporary while merging */
31 29
32struct device_node *of_find_node_by_phandle(phandle handle) 30struct device_node *of_find_node_by_phandle(phandle handle)
33{ 31{