Staging
v0.8.1
https://github.com/torvalds/linux
Raw File
Tip revision: 1c5474a65bf15a4cb162dfff86d6d0b5a08a740c authored by Linus Torvalds on 12 July 2010, 21:55:33 UTC
Linux 2.6.35-rc5
Tip revision: 1c5474a
prom.h
#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;

static inline int is_root_node(const struct device_node *dp)
{
	if (!dp)
		return 0;

	return (dp->parent == NULL);
}

extern char *build_path_component(struct device_node *dp);
extern void of_console_init(void);

extern unsigned int prom_early_allocated;

#endif /* __PROM_H */
back to top