diff options
-rw-r--r-- | include/asm-powerpc/prom.h | 1 | ||||
-rw-r--r-- | include/asm-ppc/prom.h | 1 | ||||
-rw-r--r-- | include/linux/of.h | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/include/asm-powerpc/prom.h b/include/asm-powerpc/prom.h index 672083787a1d..920b75620f74 100644 --- a/include/asm-powerpc/prom.h +++ b/include/asm-powerpc/prom.h | |||
@@ -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); |
diff --git a/include/asm-ppc/prom.h b/include/asm-ppc/prom.h index 901f7fa8b2d7..71f4c996fe75 100644 --- a/include/asm-ppc/prom.h +++ b/include/asm-ppc/prom.h | |||
@@ -35,7 +35,6 @@ extern unsigned long sub_reloc_offset(unsigned long); | |||
35 | #define machine_is_compatible(x) 0 | 35 | #define machine_is_compatible(x) 0 |
36 | #define of_find_compatible_node(f, t, c) NULL | 36 | #define of_find_compatible_node(f, t, c) NULL |
37 | #define of_get_property(p, n, l) NULL | 37 | #define of_get_property(p, n, l) NULL |
38 | #define get_property(a, b, c) of_get_property((a), (b), (c)) | ||
39 | 38 | ||
40 | #endif /* _PPC_PROM_H */ | 39 | #endif /* _PPC_PROM_H */ |
41 | #endif /* __KERNEL__ */ | 40 | #endif /* __KERNEL__ */ |
diff --git a/include/linux/of.h b/include/linux/of.h index 47734ffd9745..6df80e985914 100644 --- a/include/linux/of.h +++ b/include/linux/of.h | |||
@@ -54,7 +54,6 @@ extern int of_device_is_compatible(const struct device_node *device, | |||
54 | extern const void *of_get_property(const struct device_node *node, | 54 | extern const void *of_get_property(const struct device_node *node, |
55 | const char *name, | 55 | const char *name, |
56 | int *lenp); | 56 | int *lenp); |
57 | #define get_property(a, b, c) of_get_property((a), (b), (c)) | ||
58 | extern int of_n_addr_cells(struct device_node *np); | 57 | extern int of_n_addr_cells(struct device_node *np); |
59 | extern int of_n_size_cells(struct device_node *np); | 58 | extern int of_n_size_cells(struct device_node *np); |
60 | 59 | ||