X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Fppc%2Ftumbler.c;h=5821cdd0bec9c224ac50d63d544e59ec73dfe816;hb=38cb162b7585d837083b8365da1eb32687c5164c;hp=54e333fbb1d06e0710cb7a1ece09eccd2bb416d5;hpb=805f53f085346b6765eda02820721a14ce0d644f;p=linux-2.6 diff --git a/sound/ppc/tumbler.c b/sound/ppc/tumbler.c index 54e333fbb1..5821cdd0be 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) for (np = of_get_next_child(gpiop, NULL); np; np = of_get_next_child(gpiop, np)) { - if (device_is_compatible(np, name)) + if (of_device_is_compatible(np, name)) break; } of_node_put(gpiop);