sound: seq_midi_event: fix decoding of (N)RPN events
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / arch / sparc / kernel / prom.h
blobbb0f0fda6cab4a4686cbb031a0864c45e3df346a
1 #ifndef __PROM_H
2 #define __PROM_H
4 #include <linux/spinlock.h>
5 #include <asm/prom.h>
7 extern struct device_node *allnodes; /* temporary while merging */
8 extern rwlock_t devtree_lock; /* temporary while merging */
10 extern void * prom_early_alloc(unsigned long size);
11 extern void irq_trans_init(struct device_node *dp);
13 extern unsigned int prom_unique_id;
15 static inline int is_root_node(const struct device_node *dp)
17 if (!dp)
18 return 0;
20 return (dp->parent == NULL);
23 extern char *build_path_component(struct device_node *dp);
24 extern void of_console_init(void);
25 extern void of_fill_in_cpu_data(void);
27 extern unsigned int prom_early_allocated;
29 #endif /* __PROM_H */