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>
This commit is contained in:
David S. Miller
2008-12-05 18:16:48 -08:00
parent 6524036a1e
commit 23dc758e47
4 changed files with 39 additions and 54 deletions

View File

@@ -24,11 +24,9 @@ static inline int is_root_node(const struct device_node *dp)
}
extern char *build_path_component(struct device_node *dp);
extern void of_console_init(void);
extern void of_fill_in_cpu_data(void);
extern struct device_node * __init prom_create_node(phandle node,
struct device_node *parent);
extern unsigned int prom_early_allocated;
extern struct device_node * __init prom_build_tree(struct device_node *parent,
phandle node,
struct device_node ***nextp);
#endif /* __PROM_H */