summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/prom.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-12-05 18:16:48 -0800
committerDavid S. Miller <davem@davemloft.net>2008-12-05 18:16:48 -0800
commit23dc758e47aeb3cc2414c2ec69b7b3e95f447071 (patch)
tree70ba39d6f4ed24b67ef987b6fb528abcfbac28a7 /arch/sparc/kernel/prom.h
parent6524036a1e5736a07466208362d83ddf31aae3ac (diff)
downloadop-kernel-dev-23dc758e47aeb3cc2414c2ec69b7b3e95f447071.zip
op-kernel-dev-23dc758e47aeb3cc2414c2ec69b7b3e95f447071.tar.gz
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 dea8b91..0764b35 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 */
OpenPOWER on IntegriCloud