diff options
Diffstat (limited to 'arch/microblaze/include/asm/prom.h')
-rw-r--r-- | arch/microblaze/include/asm/prom.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/microblaze/include/asm/prom.h b/arch/microblaze/include/asm/prom.h index ef3ec1d6ceb3..03f45a963204 100644 --- a/arch/microblaze/include/asm/prom.h +++ b/arch/microblaze/include/asm/prom.h | |||
@@ -26,31 +26,11 @@ | |||
26 | #include <asm/irq.h> | 26 | #include <asm/irq.h> |
27 | #include <asm/atomic.h> | 27 | #include <asm/atomic.h> |
28 | 28 | ||
29 | #define OF_ROOT_NODE_ADDR_CELLS_DEFAULT 1 | ||
30 | #define OF_ROOT_NODE_SIZE_CELLS_DEFAULT 1 | ||
31 | |||
32 | #define of_compat_cmp(s1, s2, l) strncasecmp((s1), (s2), (l)) | ||
33 | #define of_prop_cmp(s1, s2) strcmp((s1), (s2)) | ||
34 | #define of_node_cmp(s1, s2) strcasecmp((s1), (s2)) | ||
35 | |||
36 | extern struct device_node *of_chosen; | ||
37 | |||
38 | #define HAVE_ARCH_DEVTREE_FIXUPS | 29 | #define HAVE_ARCH_DEVTREE_FIXUPS |
39 | 30 | ||
40 | extern struct device_node *allnodes; /* temporary while merging */ | ||
41 | extern rwlock_t devtree_lock; /* temporary while merging */ | ||
42 | |||
43 | /* For updating the device tree at runtime */ | ||
44 | extern void of_attach_node(struct device_node *); | ||
45 | extern void of_detach_node(struct device_node *); | ||
46 | |||
47 | /* Other Prototypes */ | 31 | /* Other Prototypes */ |
48 | extern int early_uartlite_console(void); | 32 | extern int early_uartlite_console(void); |
49 | 33 | ||
50 | extern struct resource *request_OF_resource(struct device_node *node, | ||
51 | int index, const char *name_postfix); | ||
52 | extern int release_OF_resource(struct device_node *node, int index); | ||
53 | |||
54 | /* | 34 | /* |
55 | * OF address retreival & translation | 35 | * OF address retreival & translation |
56 | */ | 36 | */ |