diff options
author | David S. Miller <davem@davemloft.net> | 2008-12-06 03:16:48 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-06 03:16:48 +0100 |
commit | 23dc758e47aeb3cc2414c2ec69b7b3e95f447071 (patch) | |
tree | 70ba39d6f4ed24b67ef987b6fb528abcfbac28a7 /arch/sparc/kernel/prom.h | |
parent | sparc: Move core of OF device tree building code into prom_common.c (diff) | |
download | linux-23dc758e47aeb3cc2414c2ec69b7b3e95f447071.tar.xz linux-23dc758e47aeb3cc2414c2ec69b7b3e95f447071.zip |
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) } 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 */ |