blob: eeb04a782ec81d3c870d99f64299b5a8f991698e [file] [log] [blame]
David S. Miller657f2012008-12-04 20:12:20 -08001#ifndef __PROM_H
2#define __PROM_H
3
4#include <linux/spinlock.h>
5#include <asm/prom.h>
6
David S. Millerefeac2f2008-12-05 00:40:43 -08007extern void * prom_early_alloc(unsigned long size);
David S. Miller5fce09c2008-12-05 00:43:03 -08008extern void irq_trans_init(struct device_node *dp);
David S. Miller5fce09c2008-12-05 00:43:03 -08009
David S. Millere5ff0fe2008-12-05 00:50:22 -080010extern unsigned int prom_unique_id;
11
David S. Miller65240362008-12-05 01:21:41 -080012extern char *build_path_component(struct device_node *dp);
David S. Miller23dc7582008-12-05 18:16:48 -080013extern void of_console_init(void);
David S. Miller65240362008-12-05 01:21:41 -080014
David S. Miller23dc7582008-12-05 18:16:48 -080015extern unsigned int prom_early_allocated;
David S. Miller65240362008-12-05 01:21:41 -080016
David S. Miller657f2012008-12-04 20:12:20 -080017#endif /* __PROM_H */