diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-02 20:55:39 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-12 13:55:18 -0400 |
commit | 7a92f74f98bde8498c98aad6cac5da5a87dd0bf4 (patch) | |
tree | 2bae247e5aba6b256899f0a95df33a8a87235399 /include | |
parent | 0e56efc7dcd1eb5004363e52bdbe801783245638 (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.h | 3 |
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 *); | |||
162 | extern void finish_device_tree(void); | 162 | extern void finish_device_tree(void); |
163 | extern void unflatten_device_tree(void); | 163 | extern void unflatten_device_tree(void); |
164 | extern void early_init_devtree(void *); | 164 | extern void early_init_devtree(void *); |
165 | extern int device_is_compatible(const struct device_node *device, | 165 | extern 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)) | ||
167 | extern int machine_is_compatible(const char *compat); | 168 | extern int machine_is_compatible(const char *compat); |
168 | extern const void *of_get_property(const struct device_node *node, | 169 | extern const void *of_get_property(const struct device_node *node, |
169 | const char *name, | 170 | const char *name, |