Commit:     0b8188a44def37f4f8ef01653da199ca3a3e0a2a
Parent:     9c25099db74b384e16345622071552f9f10dd045
Author:     Stephen Rothwell <[EMAIL PROTECTED]>
AuthorDate: Wed Aug 15 16:45:15 2007 +1000
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Fri Aug 17 11:01:58 2007 +1000

    [POWERPC] Remove get_property and device_is_compatible
    They were only needed for backwards compatibility and all in tree uses
    have now been changed.
    Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]>
    Acked-by: David S. Miller <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
 include/asm-powerpc/prom.h |    1 -
 include/asm-ppc/prom.h     |    1 -
 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 6720837..920b756 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 *);
 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);
diff --git a/include/asm-ppc/prom.h b/include/asm-ppc/prom.h
index 901f7fa..71f4c99 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);
 #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__ */
diff --git a/include/linux/of.h b/include/linux/of.h
index 47734ff..6df80e9 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 
 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);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to