diff options
author | David S. Miller <davem@davemloft.net> | 2008-12-05 21:16:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-05 21:16:48 -0500 |
commit | 23dc758e47aeb3cc2414c2ec69b7b3e95f447071 (patch) | |
tree | 70ba39d6f4ed24b67ef987b6fb528abcfbac28a7 /arch/sparc/kernel/prom.h | |
parent | 6524036a1e5736a07466208362d83ddf31aae3ac (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.h | 8 |
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 | ||
26 | extern char *build_path_component(struct device_node *dp); | 26 | extern char *build_path_component(struct device_node *dp); |
27 | extern void of_console_init(void); | ||
28 | extern void of_fill_in_cpu_data(void); | ||
27 | 29 | ||
28 | extern struct device_node * __init prom_create_node(phandle node, | 30 | extern unsigned int prom_early_allocated; |
29 | struct device_node *parent); | ||
30 | 31 | ||
31 | extern 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 */ |