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 /drivers/macintosh/windfarm_smu_controls.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 'drivers/macintosh/windfarm_smu_controls.c')
-rw-r--r-- | drivers/macintosh/windfarm_smu_controls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/windfarm_smu_controls.c b/drivers/macintosh/windfarm_smu_controls.c index ff398adc0283..58c2590f05ec 100644 --- a/drivers/macintosh/windfarm_smu_controls.c +++ b/drivers/macintosh/windfarm_smu_controls.c | |||
@@ -263,7 +263,7 @@ static int __init smu_controls_init(void) | |||
263 | /* Look for RPM fans */ | 263 | /* Look for RPM fans */ |
264 | for (fans = NULL; (fans = of_get_next_child(smu, fans)) != NULL;) | 264 | for (fans = NULL; (fans = of_get_next_child(smu, fans)) != NULL;) |
265 | if (!strcmp(fans->name, "rpm-fans") || | 265 | if (!strcmp(fans->name, "rpm-fans") || |
266 | device_is_compatible(fans, "smu-rpm-fans")) | 266 | of_device_is_compatible(fans, "smu-rpm-fans")) |
267 | break; | 267 | break; |
268 | for (fan = NULL; | 268 | for (fan = NULL; |
269 | fans && (fan = of_get_next_child(fans, fan)) != NULL;) { | 269 | fans && (fan = of_get_next_child(fans, fan)) != NULL;) { |