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 /sound/ppc/tumbler.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 'sound/ppc/tumbler.c')
-rw-r--r-- | sound/ppc/tumbler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/ppc/tumbler.c b/sound/ppc/tumbler.c index 54e333fbb1d0..5821cdd0bec9 100644 --- a/sound/ppc/tumbler.c +++ b/sound/ppc/tumbler.c | |||
@@ -1060,7 +1060,7 @@ static struct device_node *find_compatible_audio_device(const char *name) | |||
1060 | 1060 | ||
1061 | for (np = of_get_next_child(gpiop, NULL); np; | 1061 | for (np = of_get_next_child(gpiop, NULL); np; |
1062 | np = of_get_next_child(gpiop, np)) { | 1062 | np = of_get_next_child(gpiop, np)) { |
1063 | if (device_is_compatible(np, name)) | 1063 | if (of_device_is_compatible(np, name)) |
1064 | break; | 1064 | break; |
1065 | } | 1065 | } |
1066 | of_node_put(gpiop); | 1066 | of_node_put(gpiop); |