diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-05-03 03:26:52 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-07 06:31:14 -0400 |
commit | 55b61fec22caa3e7872caea6c4100fc75cb8f49b (patch) | |
tree | 995c2cf733bbd9ee1adc6e77773b0e31e9c21267 /arch/powerpc/sysdev/uic.c | |
parent | d9333afd6a714760c13f76ba275a32ec7bd979c1 (diff) |
[POWERPC] Rename device_is_compatible to of_device_is_compatible
for consistency with other Open Firmware interfaces (and Sparc).
This is just a straight replacement.
This leaves the compatibility define in place.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev/uic.c')
-rw-r--r-- | arch/powerpc/sysdev/uic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/sysdev/uic.c b/arch/powerpc/sysdev/uic.c index 968fb40af9d..89059895a20 100644 --- a/arch/powerpc/sysdev/uic.c +++ b/arch/powerpc/sysdev/uic.c | |||
@@ -221,7 +221,7 @@ static struct uic * __init uic_init_one(struct device_node *node) | |||
221 | const u32 *indexp, *dcrreg; | 221 | const u32 *indexp, *dcrreg; |
222 | int len; | 222 | int len; |
223 | 223 | ||
224 | BUG_ON(! device_is_compatible(node, "ibm,uic")); | 224 | BUG_ON(! of_device_is_compatible(node, "ibm,uic")); |
225 | 225 | ||
226 | uic = alloc_bootmem(sizeof(*uic)); | 226 | uic = alloc_bootmem(sizeof(*uic)); |
227 | if (! uic) | 227 | if (! uic) |