aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/prom.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-12-05 21:16:48 -0500
committerDavid S. Miller <davem@davemloft.net>2008-12-05 21:16:48 -0500
commit23dc758e47aeb3cc2414c2ec69b7b3e95f447071 (patch)
tree70ba39d6f4ed24b67ef987b6fb528abcfbac28a7 /arch/sparc/kernel/prom.h
parent6524036a1e5736a07466208362d83ddf31aae3ac (diff)
sparc: Move prom_build_devicetree() into prom_common.c
To make this work we provide a dummy nop implementation of of_fill_in_cpu_data() for sparc32. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/prom.h')
-rw-r--r--arch/sparc/kernel/prom.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/sparc/kernel/prom.h b/arch/sparc/kernel/prom.h
index dea8b91b6960..0764b354b52c 100644
--- a/arch/sparc/kernel/prom.h
+++ b/arch/sparc/kernel/prom.h
@@ -24,11 +24,9 @@ static inline int is_root_node(const struct device_node *dp)
24} 24}
25 25
26extern char *build_path_component(struct device_node *dp); 26extern char *build_path_component(struct device_node *dp);
27extern void of_console_init(void);
28extern void of_fill_in_cpu_data(void);
27 29
28extern struct device_node * __init prom_create_node(phandle node, 30extern unsigned int prom_early_allocated;
29 struct device_node *parent);
30 31
31extern struct device_node * __init prom_build_tree(struct device_node *parent,
32 phandle node,
33 struct device_node ***nextp);
34#endif /* __PROM_H */ 32#endif /* __PROM_H */