forked from Minki/linux
035ebefc73
Rename is_root_node() to of_node_is_root() and make it available for all archs to use, as it's not PROM-specific. Signed-off-by: Andres Salomon <dilinger@queued.net> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
18 lines
388 B
C
18 lines
388 B
C
#ifndef __PROM_H
|
|
#define __PROM_H
|
|
|
|
#include <linux/spinlock.h>
|
|
#include <asm/prom.h>
|
|
|
|
extern void * prom_early_alloc(unsigned long size);
|
|
extern void irq_trans_init(struct device_node *dp);
|
|
|
|
extern unsigned int prom_unique_id;
|
|
|
|
extern char *build_path_component(struct device_node *dp);
|
|
extern void of_console_init(void);
|
|
|
|
extern unsigned int prom_early_allocated;
|
|
|
|
#endif /* __PROM_H */
|