diff options
Diffstat (limited to 'include/asm-powerpc/prom.h')
-rw-r--r-- | include/asm-powerpc/prom.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-powerpc/prom.h b/include/asm-powerpc/prom.h index 672083787a1d..925e2d384bb3 100644 --- a/include/asm-powerpc/prom.h +++ b/include/asm-powerpc/prom.h | |||
@@ -24,7 +24,7 @@ | |||
24 | #define OF_ROOT_NODE_ADDR_CELLS_DEFAULT 1 | 24 | #define OF_ROOT_NODE_ADDR_CELLS_DEFAULT 1 |
25 | #define OF_ROOT_NODE_SIZE_CELLS_DEFAULT 1 | 25 | #define OF_ROOT_NODE_SIZE_CELLS_DEFAULT 1 |
26 | 26 | ||
27 | #define of_compat_cmp(s1, s2, l) strncasecmp((s1), (s2), (l)) | 27 | #define of_compat_cmp(s1, s2, l) strcasecmp((s1), (s2)) |
28 | #define of_prop_cmp(s1, s2) strcmp((s1), (s2)) | 28 | #define of_prop_cmp(s1, s2) strcmp((s1), (s2)) |
29 | #define of_node_cmp(s1, s2) strcasecmp((s1), (s2)) | 29 | #define of_node_cmp(s1, s2) strcasecmp((s1), (s2)) |
30 | 30 | ||
@@ -145,7 +145,6 @@ extern void of_detach_node(struct device_node *); | |||
145 | extern void finish_device_tree(void); | 145 | extern void finish_device_tree(void); |
146 | extern void unflatten_device_tree(void); | 146 | extern void unflatten_device_tree(void); |
147 | extern void early_init_devtree(void *); | 147 | extern void early_init_devtree(void *); |
148 | #define device_is_compatible(d, c) of_device_is_compatible((d), (c)) | ||
149 | extern int machine_is_compatible(const char *compat); | 148 | extern int machine_is_compatible(const char *compat); |
150 | extern void print_properties(struct device_node *node); | 149 | extern void print_properties(struct device_node *node); |
151 | extern int prom_n_intr_cells(struct device_node* np); | 150 | extern int prom_n_intr_cells(struct device_node* np); |