aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/of.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-08-15 16:45:15 +1000
committerPaul Mackerras <paulus@samba.org>2007-08-17 11:01:58 +1000
commit0b8188a44def37f4f8ef01653da199ca3a3e0a2a (patch)
tree5fb3a473c3e56227c8021215a14a525d78959d34 /include/linux/of.h
parent[POWERPC] Use of_get_property in ipmi code (diff)
downloadlinux-dev-0b8188a44def37f4f8ef01653da199ca3a3e0a2a.tar.xz
linux-dev-0b8188a44def37f4f8ef01653da199ca3a3e0a2a.zip
[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 <sfr@canb.auug.org.au> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/linux/of.h')
-rw-r--r--include/linux/of.h1
1 files changed, 0 insertions, 1 deletions
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,
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);