]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
[POWERPC] Remove get_property and device_is_compatible
authorStephen Rothwell <sfr@canb.auug.org.au>
Wed, 15 Aug 2007 06:45:15 +0000 (16:45 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 17 Aug 2007 01:01:58 +0000 (11:01 +1000)
They were only needed for backwards compatibility and all in tree uses
have now been changed.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/prom.h
include/asm-ppc/prom.h
include/linux/of.h

index 672083787a1d8eb1664ba77c5509cf58e708cd96..920b75620f7464f8283675cec7f3f3b1aa50e106 100644 (file)
@@ -145,7 +145,6 @@ extern void of_detach_node(struct device_node *);
 extern void finish_device_tree(void);
 extern void unflatten_device_tree(void);
 extern void early_init_devtree(void *);
-#define device_is_compatible(d, c)     of_device_is_compatible((d), (c))
 extern int machine_is_compatible(const char *compat);
 extern void print_properties(struct device_node *node);
 extern int prom_n_intr_cells(struct device_node* np);
index 901f7fa8b2d7dbda789913eecd180a6d0cadc588..71f4c996fe750f4453ca7a1a11e2626391ac2887 100644 (file)
@@ -35,7 +35,6 @@ extern unsigned long sub_reloc_offset(unsigned long);
 #define machine_is_compatible(x)               0
 #define of_find_compatible_node(f, t, c)       NULL
 #define of_get_property(p, n, l)               NULL
-#define get_property(a, b, c)                  of_get_property((a), (b), (c))
 
 #endif /* _PPC_PROM_H */
 #endif /* __KERNEL__ */
index 47734ffd97451698c1233c4cbae6f0c16317574c..6df80e9859147973ecd06d6c2863d400b838d71a 100644 (file)
@@ -54,7 +54,6 @@ extern int of_device_is_compatible(const struct device_node *device,
 extern const void *of_get_property(const struct device_node *node,
                                const char *name,
                                int *lenp);
-#define get_property(a, b, c)  of_get_property((a), (b), (c))
 extern int of_n_addr_cells(struct device_node *np);
 extern int of_n_size_cells(struct device_node *np);