diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-04-03 10:55:39 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-13 03:55:18 +1000 |
commit | 7a92f74f98bde8498c98aad6cac5da5a87dd0bf4 (patch) | |
tree | 2bae247e5aba6b256899f0a95df33a8a87235399 /include/asm-powerpc/prom.h | |
parent | 0e56efc7dcd1eb5004363e52bdbe801783245638 (diff) | |
download | op-kernel-dev-7a92f74f98bde8498c98aad6cac5da5a87dd0bf4.zip op-kernel-dev-7a92f74f98bde8498c98aad6cac5da5a87dd0bf4.tar.gz |
[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/asm-powerpc/prom.h')
-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 448c5ce..fcacc88 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 *); extern void finish_device_tree(void); extern void unflatten_device_tree(void); extern void early_init_devtree(void *); -extern int device_is_compatible(const struct device_node *device, +extern int of_device_is_compatible(const struct device_node *device, const char *); +#define device_is_compatible(d, c) of_device_is_compatible((d), (c)) extern int machine_is_compatible(const char *compat); extern const void *of_get_property(const struct device_node *node, const char *name, |