aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2007-04-02 20:55:39 -0400
committerPaul Mackerras <paulus@samba.org>2007-04-12 13:55:18 -0400
commit7a92f74f98bde8498c98aad6cac5da5a87dd0bf4 (patch)
tree2bae247e5aba6b256899f0a95df33a8a87235399 /include
parent0e56efc7dcd1eb5004363e52bdbe801783245638 (diff)
[POWERPC] Rename device_is_compatible to of_device_is_compatible
This is more consistent and gets us closer to the Sparc code. We add a device_is_compatible define for compatibility during the change over. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include')
-rw-r--r--include/asm-powerpc/prom.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-powerpc/prom.h b/include/asm-powerpc/prom.h
index 448c5ce76fbe..fcacc88b7706 100644
--- a/include/asm-powerpc/prom.h
+++ b/include/asm-powerpc/prom.h
@@ -162,8 +162,9 @@ extern void of_detach_node(const struct device_node *);
162extern void finish_device_tree(void); 162extern void finish_device_tree(void);
163extern void unflatten_device_tree(void); 163extern void unflatten_device_tree(void);
164extern void early_init_devtree(void *); 164extern void early_init_devtree(void *);
165extern int device_is_compatible(const struct device_node *device, 165extern int of_device_is_compatible(const struct device_node *device,
166 const char *); 166 const char *);
167#define device_is_compatible(d, c) of_device_is_compatible((d), (c))
167extern int machine_is_compatible(const char *compat); 168extern int machine_is_compatible(const char *compat);
168extern const void *of_get_property(const struct device_node *node, 169extern const void *of_get_property(const struct device_node *node,
169 const char *name, 170 const char *name,