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/platforms/powermac/pic.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/platforms/powermac/pic.c')
-rw-r--r-- | arch/powerpc/platforms/powermac/pic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/powermac/pic.c b/arch/powerpc/platforms/powermac/pic.c index ae5097ac0378..87cd6805171a 100644 --- a/arch/powerpc/platforms/powermac/pic.c +++ b/arch/powerpc/platforms/powermac/pic.c | |||
@@ -364,7 +364,7 @@ static void __init pmac_pic_probe_oldstyle(void) | |||
364 | slave = of_find_node_by_name(master, "mac-io"); | 364 | slave = of_find_node_by_name(master, "mac-io"); |
365 | 365 | ||
366 | /* Check ordering of master & slave */ | 366 | /* Check ordering of master & slave */ |
367 | if (device_is_compatible(master, "gatwick")) { | 367 | if (of_device_is_compatible(master, "gatwick")) { |
368 | struct device_node *tmp; | 368 | struct device_node *tmp; |
369 | BUG_ON(slave == NULL); | 369 | BUG_ON(slave == NULL); |
370 | tmp = master; | 370 | tmp = master; |